Microsoft DirectX 8.1 (C++)

StagedPeer

The StagedPeer sample connects players together with dialog boxes that allow players to chat and to start a new game at the same time. The host can start the game once all the players have joined and everyone is ready. The host player can also reject players or close player slots. The game is identical to the SimplePeer game.

When the game starts, players can press the Wave to other players button, which sends a simple Microsoft® DirectPlay® message to all other players.

Path

Path: (SDK root)\Samples\Multimedia\DirectPlay\StagedPeer

Executable: (SDK root)\Samples\Multimedia\DirectPlay\Bin

Programming Notes

The StagedPeer sample is similar in form to the SimplePeer sample. StagedPeer differs only by displaying a multiplayer stage using a dialog box. See Netstage.cpp and Netstage.h for details. For more information, see the Programming Notes section of the SimplePeer sample.