From 27a7bf5b1e65f715ae2a7f8c76fa8761be389857 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sun, 30 Mar 2014 20:56:59 -0400 Subject: TCP server now sends/handles ping packets. --- docs/TCP_Network.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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: 3 - Disconnect notification: [uint8_t id (3)][uint8_t (packet id of connection that got disconnected)] 4 - ping packet -[uint8_t id (4)][uint64_t ping_id] +[uint8_t id (4)][uint64_t ping_id (0 is invalid)] 5 - ping response (pong) -[uint8_t id (5)][uint64_t ping_id] +[uint8_t id (5)][uint64_t ping_id (0 is invalid)] 8 - onion packet (same format as initial onion packet (See: Prevent tracking.txt) but packet id is 8 instead of 128) 9 - onion packet response (same format as onion packet with id 142 but id is 9 -- cgit v1.2.3