3.1.4.1 Enumerate Sessions

When a higher-level entity chooses to enumerate the established game sessions, the DirectPlay client MUST format a DPSP_MSG_ENUMSESSIONS message (see section 2.2.29) with the ApplicationGuid set to Game.GUID and the Flags and Password field set appropriately based on information from the higher-level entity to the broadcast socket address (255.255.255.255) on the DirectPlay UDP port (see section 1.9).

It then MUST start listening for responses on the DirectPlay TCP/IP port (see section 1.9). It then MUST start the game session enumeration timer. Until the game session enumeration timer expires, it MUST collect all DPSP_MSG_ENUMSESSIONSREPLY (section 2.2.30) messages. It then MUST return that collected information to the higher level. If no DPSP_MSG_ENUMSESSIONSREPLY messages are received, it MUST return that information to the higher level.