Understanding DirectPlay Addresses

Playing single-player games can be fun and exciting, but it's nothing compared to playing against real live people. Even game consoles that were notoriously single player have begun offering online play and matchmaking services. It's rare to see top-of-the-line games coming out nowadays without some form of multiplayer features. There is also an entire class of quite popular games that have no single-player options at all; they are only multiplayer.

Managed DirectX includes the DirectPlay API that can be used for implementing a networking layer. Before we begin the code for this chapter, we will once again need to ensure that we have the right references for DirectPlay. Ensure that you have the Microsoft.DirectX.DirectPlay ...

Get Managed DirectX® 9 Kick Start: Graphics and Game Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.