Tutorial 1: Connecting by Using the Lobby

An application written to use the IDirectPlayLobby2 interface can be connected to a session without requiring the user to manually enter connection information in a dialog box. To demonstrate how to create a lobbied application, the DPCHAT sample performs the following steps:

·Step 1: Creating a DirectPlayLobby Object

·Step 2: Retrieving the Connection Settings

·Step 3: Configuring the Session Description

·Step 4: Connecting to a Session

·Step 5: Creating a Player