DWCNewClientCallback

C Specification

#include <dwc.h>

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

Description

This function is called after a new connection with another client DS has started on the mesh netowork to which the local DS belongs when using server-client matchmaking to connect to a friend.

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 select function.
2005/11/01 Initial version.