diff options
author | irungentoo <irungentoo@gmail.com> | 2014-03-30 20:56:59 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-03-30 20:56:59 -0400 |
commit | 27a7bf5b1e65f715ae2a7f8c76fa8761be389857 (patch) | |
tree | e4cf3b9d78cc6acfaa1a9786c29316e864f8f616 /docs/TCP_Network.txt | |
parent | 98cba889a70c62847da9127832e3aece8722e235 (diff) |
TCP server now sends/handles ping packets.
Diffstat (limited to 'docs/TCP_Network.txt')
-rw-r--r-- | docs/TCP_Network.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/TCP_Network.txt b/docs/TCP_Network.txt index ee1bcbde..775ccc88 100644 --- a/docs/TCP_Network.txt +++ b/docs/TCP_Network.txt | |||
@@ -101,9 +101,9 @@ special ids and packets: | |||
101 | 3 - Disconnect notification: | 101 | 3 - Disconnect notification: |
102 | [uint8_t id (3)][uint8_t (packet id of connection that got disconnected)] | 102 | [uint8_t id (3)][uint8_t (packet id of connection that got disconnected)] |
103 | 4 - ping packet | 103 | 4 - ping packet |
104 | [uint8_t id (4)][uint64_t ping_id] | 104 | [uint8_t id (4)][uint64_t ping_id (0 is invalid)] |
105 | 5 - ping response (pong) | 105 | 5 - ping response (pong) |
106 | [uint8_t id (5)][uint64_t ping_id] | 106 | [uint8_t id (5)][uint64_t ping_id (0 is invalid)] |
107 | 8 - onion packet (same format as initial onion packet (See: Prevent | 107 | 8 - onion packet (same format as initial onion packet (See: Prevent |
108 | tracking.txt) but packet id is 8 instead of 128) | 108 | tracking.txt) but packet id is 8 instead of 128) |
109 | 9 - onion packet response (same format as onion packet with id 142 but id is 9 | 109 | 9 - onion packet response (same format as onion packet with id 142 but id is 9 |