Microsoft DirectX 9.0 SDK Update (Summer 2003) |
DirectPlay C/C++ Tutorials
This section contains tutorials that provide step-by-step instructions for implementing basic Microsoft® DirectPlay® functionality in a C or C++ application. Each tutorial builds on the previous tutorials and it is recommended that you complete the tutorials in the order in which they are listed. The first eight tutorials use the IDirectPlay8Peer interface methods. Tutorial 9 uses the IDirectPlay8Client and IDirectPlay8Server interface methods.
Tutorials
- Tutorial 1: Creating a DirectPlay Object and Enumerating Service Providers
- Tutorial 2: Hosting a Session
- Tutorial 3: Enumerating Hosted Sessions
- Tutorial 4: Connecting to a Session
- Tutorial 5: Sending Messages to Other Peers
- Tutorial 6: Handling Host Migration
- Tutorial 7: Creating a Lobbyable Application
- Tutorial 8: Direct Play Voice
- Tutorial 9: Creating a DirectPlay Client/Server Session
- Tutorial 10: DirectPlay Thread Pool
Note These tutorials are written using C++ style function calls. For instructions on writing Microsoft DirectX® function calls in a C environment, see Using C to Access COM Objects.
For other examples, see DirectPlay C++ Samples.