Microsoft DirectX 8.1 (C++) |
To deliver messages, each participant in a multiplayer game must have a unique address. Addresses can refer to either the computer on which your application is running (device address) or a computer with which your application needs to communicate (host address).
Microsoft® DirectPlay® 8.1 represents addresses in the form of a URL string. The address string is then encapsulated in a DirectPlay address object that is passed as a parameter in or out of methods such as IDirectPlay8Peer::Connect.
This section describes three ways of handling DirectPlay addresses.