DWCNewClientCallback

Syntax

#include <dwc.h>

typedef void (*DWCNewClientCallback)( int index, void* param );

Description

During server-client matchmaking with a friend, this function is called when a new connection with another client DS starts on the mesh network to which the local DS belongs.

This callback function can be set using DWC_SetupGameServer or DWC_ConnectToGameServerAsync.

Arguments

index Friend roster index of the newly connected client DS. -1 if the newly connected client is not a friend.
param Parameter for the callback specified by DWC_SetupGameServer or DWC_ConnectToGameServerAsync.

Return Values

None.

See Also

DWC_SetupGameServer
DWC_ConnectToGameServerAsync

Revision History

2005/12/16 Added a description of the callback set function.
2005/11/01 Initial version.


CONFIDENTIAL