-
Notifications
You must be signed in to change notification settings - Fork 8
Control packet
Youx edited this page Sep 13, 2010
·
1 revision
Size | Format | Description |
---|---|---|
2 bytes | 16 bit integer (hexa) | Type of packet (f0be) |
2 bytes | 16 bit integer (hexa) | Function ID |
4 bytes | 32 bit integer (hexa) | Private client ID of packet : the client (known only to the server) |
4 bytes | 32 bit integer (hexa) | Public client ID (known to the other clients) |
4 bytes | 32 bits integer | Counter (to be sure all control are received in the right order and we did not miss one) |
2 bytes | 16 bit unsigned integer | Version of the packet sent (when a packet is lost and we send it again, we increment this field) |
2 bytes | 16 bit unsigned integer | 0 |
4 bytes | 32 bit integer | Checksum |