2.2.30 DPSP_MSG_ENUMSESSIONSREPLY

The DPSP_MSG_ENUMSESSIONSREPLY packet is sent by the server in response to a DPSP_MSG_ENUMSESSIONS (section 2.2.29) request. One packet is sent for each active game session.


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

DPSP_MSG_HEADER (28 bytes)

...

...

SessionDescription (variable)

...

NameOffset

SessionName (variable)

...

DPSP_MSG_HEADER (28 bytes): Message header for this packet. The Command Value member of this field MUST be set to 1 (0x01).

SessionDescription (variable): MUST be set to a DPSESSIONDESC2 (section 2.2.5) structure that describes the game session.

NameOffset (4 bytes): MUST be set to the offset, in octets, from the beginning of the message in the SessionName field.

SessionName (variable): MUST be set to the null-terminated Unicode string that contains the game session name. This value is present only if the NameOffset field is nonzero.