2.2.2.1.2 Client Message Header (CLIENT_IO_HEADER)

All I/O Reply messages (messages from client to server) use the following Reply header.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RequestId

PacketType

RequestId (3 bytes): A 24-bit unsigned integer. For I/O response messages, this value MUST contain the same value as the RequestId field in the SERVER_IO_HEADER of the corresponding request message. If the PacketType field contains 0x01, this is a Custom Event Message. This field is unused, MAY contain any value, and MUST be ignored.

PacketType (1 byte): An 8-bit unsigned integer that indicates the packet type. The field MUST contain one of the following values.

Value

Meaning

RESPONSE_PACKET

0x00

Indicates that the message is a response to an I/O request from the server.

CUSTOM_EVENT_PACKET

0x01

Indicates that the message is a custom event message generated by the client.