Home docs pia Reliable Sliding Window
Post

Reliable Sliding Window

The reliable sliding window ensures that all packets arrive and in the correct order. Large messages are fragmented. The reliable sliding window is used by the following protocols:

When a reliable sliding window is used, messages are wrapped as follows:

Up to 5.12:

OffsetSizeDescription
0x02Flags
0x22Payload size
0x44Padding
0x84Sequence id
0xC4Acknowledgement id
0x108Extra acknowledgements
0x18 Payload

5.14:

OffsetSizeDescription
0x02Flags
0x22Payload size
0x42Sequence id
0x68Unknown
0xE8Unknown
0x16 Payload

5.17 - 5.19:

OffsetSizeDescription
0x01Flags
0x11Stream id
0x22Payload size
0x42Sequence id
0x62Lowest sequence id pending ack
0x81Number of multicast constant ids (N)
0x98*NMulticast constant ids
  Payload

5.31:

OffsetSizeDescription
0x01Flags
0x11Stream id
0x22Payload size
0x42Sequence id
0x62Unknown
0x81Unknown
0x94*NUnknown
  Payload

Flags

FlagDescription
1Has payload
2First fragment
4Last fragment
8Is initialize
16Is compressed
32Reset
64Reset ack
Contents