$#K SNetGetPlayerCaps

Returns the capabilities of an individual player.  You can use this function to get the latency between this machine and any other player in the game.

BOOL SNetGetPlayerCaps (
	DWORD			playerid,
	SNETCAPSPTR	caps
);

Parameters

playerid
The ID of the player for which capabilities will be returned.

caps
An SNETCAPS structure.  You must fill in the size field before passing this structure to SNetGetPlayerCaps().

Return Value

This function returns TRUE for success or FALSE for failure.  The function can fail if:
•	No network provider has been initialized
•	No game has been created or joined
•	No active player exists with the given ID
•	The size field of the SNETCAPS structure is invalid