source: trunk/protocol

Last change on this file was 7, checked in by willem, 9 years ago

willem

File size: 687 bytes
Line 
1A message consists of:
2
3header
4data
5end-of-data-marker  a character with value zero
6
7header:
8stopos              literally: "stopos"
9TAB                 field separator: '/'
10protocolnumber      human readable string, eg "0001"
11TAB
12whoami              human readable string
13TAB
14command             human readable string, eg "next"
15TAB
16poolname            poolname, eg "mypool"
17TAB
18user                human readable string, eg "willem"
19TAB
20
21length of header may not exceed 256 bytes
22
23data:
24string not containing 0-bytes, example "-l 1 2 3" Max length = 4096
25
26example:
27stopos\t0001\tnext\tmypool\twillem\t-l 1 2 3\0
28
29None of above may containg 0-bytes, except for the end-of-data marker
30
31
Note: See TracBrowser for help on using the repository browser.