Platform SDK: DirectX |
This topic pertains only to applications written in C++. In DirectX for Visual Basic, an object of the DirectPlayAddress class encapsulates address information. The object is created by one of the methods of DirectPlayLobby3. For more information, see Overriding Service Provider Dialogs.
This topic contains examples of DirectPlay addresses and the data they contain for different connection types.
A DirectPlay address describing an IPX connection
Initializing this connection will bind the DirectPlay object to the IPX service provider.
guidDataType | dwDataSize | Data |
---|---|---|
DPAID_ServiceProvider | 16 | {685BC400-9D2C-11cf-A9CD-00AA006886E3} |
A DirectPlay address describing a modem connection
Initializing this connection binds DirectPlay to the modem service provider and stores the phone number. When the application initiates session enumeration, the service provider dials the number without asking the user for a phone number.
guidDataType | dwDataSize | Data |
---|---|---|
DPAID_ServiceProvider | 16 | {44EAA760-CB68-11cf-9C4E-00A0C905425E} |
DPAID_Phone | 9 (including NULL terminator) | "555-8237" |
A DirectPlay address describing a TCP/IP connection
Initializing this connection binds DirectPlay to the TCP/IP service provider and stores the IP address. When the application initiates session enumeration, the service provider does not ask the user for an IP address.
guidDataType | dwDataSize | Data |
---|---|---|
DPAID_ServiceProvider | 16 | {36E95EE0-8577-11cf-960C-0080C7534E82} |
DPAID_INet | 10 (including NULL terminator) | "127.0.0.1" |