Microsoft SDK for Java

sendLobbyMessage

This method of the DirectPlayLobby Class sends a message between the application and the lobby client.

Syntax

public void sendLobbyMessage(int applicationId, byte[] data, int dataSize);

Parameters

applicationId Identifies which application to send a message to when called from a lobby client (that communicates with several applications). When called from an application (that communicates with only one lobby client), this parameter must be zero. This ID is obtained by using the runApplication method.
data The message to send.
dataSize The buffer size (in bytes).

© 1999 Microsoft Corporation. All rights reserved. Terms of use.