4.1 Successful Connect Sequence

The following examples demonstrate successful connect sequences.

Connect Request Message (section 2.2.3.1):

DirectPlay protocol, Client to Server, Guaranteed and Ordered

 00000000 51 01 00 03 00 00 00
 51 -> MessageType = DVMSGID_CONNECTREQUEST = 0x51
 01 -> VersionMajor = 0x01
 00 -> VersionMinor = 0x00
 03 00 00 00 -> VersionBuild = 0x00000003

Connect Accept Message (section 2.2.3.2):

DirectPlay protocol, Server to Client, Guaranteed and Ordered

 00000000 56 01 00 00 00 01 00 03
 00000008 00 00 00 00 00 00 00 9B
 00000010 A2 82 7D 42 22 82 4F 8F
 00000018 39 5D 11 53 DF 3E 41
 56 -> MessageType = DVMSGID_CONNECTACCEPT = 0x56
 01 00 00 00 -> SessionType = DVSESSIONTYPE_PEER = 0x00000001
 01 -> VersionMajor = 0x01
 00 -> VersionMinor = 0x00
 03 00 00 00 -> VersionBuild = 0x00000003
 00 00 00 00 -> Session Flags = 0x00000000
 9B A2 82 7D 42 22 82 4F 8F 39 5D 11 53 DF 3E 41 -> CompressionType = 
 DPVCTGUID_SC03 {7D82A29B-2242-4F82-8F39-5D1153DF3E41}

  Client Capability Confirmation Message (section 2.2.2.8):

DirectPlay protocol, Client to Server, Guaranteed and Ordered

 00000000 58 00 00 00 00 FF FF FF FF
 58 -> MessageType = DVMSGID_SETTINGSCONFIRM = 0x58
 00 00 00 00 -> PlayerFlags = 0x00000000
 FF FF FF FF -> HostOrderID = 0xFFFFFFFF

At this point the voice server starts communicating with the Peer Voice Session Subprotocol (section 1.3.3).

  Voice Client List Message (section 2.2.4.2):

DirectPlay protocol, Server to Client, Guaranteed and Ordered

 00000000 61 01 00 00 00 02 00 00 
 00000008 00 AE F4 42 59 00 00 00 
 00000010 00 01 00 00 00 AE F4 52 
 00000018 59 00 00 00 00 00 00 00
 00000020 00
 61 -> MessageType = DVMSGID_PLAYERLIST = 0x61
 01 00 00 00 -> HostOrderID = 0x00000001
 02 00 00 00 -> NumPlayerListEntries = 0x00000002
 AE F4 42 59 -> Voice Client[0] DVID = 0x5942F4AE
 00 00 00 00 -> Voice Client[0] PlayerFlags = 0x00000000
 01 00 00 00 -> Voice Client[0] Host Order ID = 0x00000001
 AE F4 52 59 -> Voice Client[1] DVID = 0x5952F4AE
 00 00 00 00 -> Voice Client[1] PlayerFlags = 0x00000000
 00 00 00 00 -> Voice Client[1] Host Order ID = 0x00000000

Add Voice Client Message (section 2.2.2.4):

DirectPlay protocol, Server to Server, Guaranteed and Ordered

 00000000 01 AE F4 42 59 00 00 00
 00000008 00 01 00 00 00
 01 -> MessageType = DVMSGID_CREATEVOICEPLAYER = 0x01
 AE F4 42 59 -> DVID = 0x5942F4AE
 00 00 00 00 -> PlayerFlags = 0x00000000
 01 00 00 00 -> HostOrderID = 0x00000001