Microsoft DirectX 9.0 SDK Update (Summer 2003) |
The SimpleClientServer sample is a simple client/server application. It is similar in form to SimplePeer but uses the client/server interfaces. When the user presses Wave to other players, the game passes a single Microsoft® DirectPlay® message to all connected players.
Path: (SDK root)\Samples\C++\DirectPlay\SimpleClientServer
Executable: (SDK root)\Samples\C++\DirectPlay\Bin
To run the game, do the following:
The game begins immediately after it has been created. Other players can join the game at any time.