From 7dda947198b81622ad0aea773e7ba3a6ec90ba7c Mon Sep 17 00:00:00 2001 From: me_desk Date: Sun, 15 Dec 2013 11:53:22 +0000 Subject: file sending and receiving, implemented required functions in PICA_client.c, support for bidirectional sending and receiving two files simultaneously, file operations (open, read, write) are handled inside PICA_client instead of caller functions git-svn-id: svn://localhost/project_picapica/trunk@300 fb96df88-216d-11de-830c-f3023f12d8ac --- doc/proto.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/proto.txt b/doc/proto.txt index a6b681b..0f05d6a 100755 --- a/doc/proto.txt +++ b/doc/proto.txt @@ -83,6 +83,10 @@ UH - user hash - SHA224 хэш от сертификата пользовате +++ [фрагмент файла] 0x53 0x53 (длина фрагмента - 2 байта, 0 - 65532) фрагмент файла ++++[управление передачей файла] +0x54 0x54 (команда отправителя) (команда получателя) +Команды: 00 - пустая команда (бездействие) 01 - приостановить 02 - возобновить 03 - отменить 04 - отменить из-за ошибки чтения/записи файла + Пинг -- cgit v1.2.1