notes to dht impl and related
[brdnet.git] / opcode.pas
bloba6448fe2bd8e6c3d6e701177abe52691a545aef1
1 UNIT opcode;
2 INTERFACE
4 const {dgram opcode}
5 tcdata=4;
6 tcdataimm=6;
7 tccont=5;
8 tceack=7;
9 tcdata_no_report=8 unimplemented;
10 {10-16 reserver for dht}
11 dhtping=10;
12 dhtpong=11;
13 dhtfind=12;
14 dhtnodes=13;
15 dhtvalues=14;
16 const {chat init}
17 upFileServer=2;
18 const {FS opcodes}
19 {c}upOPEN=7;
20 {s}upINFO=8;
21 {s}upFAIL=9;
22 {c}upLSEG=10;
23 {s}upUNAVL=11;
24 {c}upSTOP=13;
25 {c}upCLOSE=14;
26 {c}upWEIGHT=15;
27 {s}upEPROTO=16;
28 {s}upDONE=17;
29 {s}upSEGOK=18;
30 upErrMalformed=1;
31 upErrHiChan=2;
32 upErrChanInUse=3;
33 upErrNotFound=4;
34 upErrIO=5;
35 upErrSegNoGet=6;
36 upErrNotOpen=7;
37 upErrTroll=99;
39 IMPLEMENTATION
40 END.