Difference between revisions of "PacketAck"
Jump to navigation
Jump to search
Cube Linden (talk | contribs) |
|||
Line 9: | Line 9: | ||
} | } | ||
} | } | ||
</pre> | |||
==Usage and Notes== | ==Usage and Notes== | ||
Assuming no messages are sent that ACKs can be appended to, this message is sent with the rest of the packet IDs that require acknowledgment. | Assuming no messages are sent that ACKs can be appended to, this message is sent with the rest of the packet IDs that require acknowledgment. | ||
The message body should contain one byte denoting how many packets are included in the message, followed by the sequence numbers (bytes 1-4 of [[Packet Layout]] as little-endian) of the packets to be acknowledged. | |||
[[Category:Messages]] | [[Category:Messages]] | ||
[[Category:Common Messages]] | [[Category:Common Messages]] |
Latest revision as of 09:32, 11 September 2024
Message Layout
{ PacketAck Fixed 0xFFFFFFFB NotTrusted Unencoded { Packets Variable { ID U32 } } }
Usage and Notes
Assuming no messages are sent that ACKs can be appended to, this message is sent with the rest of the packet IDs that require acknowledgment.
The message body should contain one byte denoting how many packets are included in the message, followed by the sequence numbers (bytes 1-4 of Packet Layout as little-endian) of the packets to be acknowledged.