2.2.1 TopologyPacketHeader

A TopologyPacketHeader packet is sent as the first element of every TopologyClientRequest (section 2.2.2) packet and every TopologyServerReply (section 2.2.3) packet.


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

Version

Type

Reserved

Version (1 byte):  An 8-bit value that specifies the TopologyPacketHeader version. MQSD clients MUST set all bit positions to 0. MQSD servers MUST ignore this field.

Type (1 byte):  An 8-bit value that MUST specify the type of the packet that follows. The value 0x01 MUST be used to specify a TopologyClientRequest (section 2.2.2). The value 0x02 MUST be used to specify a TopologyServerReply (section 2.2.3).

Value

Meaning

0x01

Specifies a TopologyClientRequest (section 2.2.2).

0x02

Specifies a TopologyServerReply (section 2.2.3).

Reserved (2 bytes):  A 16-bit value that is not used. It MUST be set to 0x0000 by MQSD clients and MUST be ignored by MQSD servers.