2.2.3.3 Connect Refuse Message

This message is sent by the voice server if a voice client requests to connect and the voice server is either shutting down or not yet initialized. This message is sent as an ordered and guaranteed message by using the DirectPlay protocol voice message type.


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

Header

ReasonCode

...

VersionMajor

VersionMinor

VersionBuild

...

Header (1 byte): The common message header (as specified in section 2.2.1). The MessageType field MUST be set to DVMSGID_CONNECTREFUSE (0x53).

ReasonCode (4 bytes): An HRESULT value indicating the reason the connection request was refused. This field MUST be set to DVERR_NOTHOSTING (0x8015017B).

VersionMajor (1 byte): An 8-bit unsigned integer. This value MUST be 0x01.

VersionMinor (1 byte): An 8-bit unsigned integer. This value MUST be 0x00.

VersionBuild (4 bytes): A 32-bit unsigned integer. This value MUST be 0x00000003.