fiasko's home page
TeamTapper |
| English |
Packet format
Values in the packets are stored little endian. When the client logins, the server returns connection id. This 16bit long value is valid
during the hole connection and is contained in any further packet send between server and client. Packets, except the voice samples, are protect by a CRC32 checksum.
Each client has its own counters for number of sent requests, pings and voice packets. The counter values are to be included in the
according requests.
Since the protocol is based on UDP, the client has to send ping packets to the server to indicate that it is still alive from time to time. The server will reply with a pong packet, so the
client will also know if the server is still alive. If no packet was send for a given time, the connection times out.