peerIsConnected

GameSpy SDK

peerIsConnected

Returns PEERTrue if connected to the chat server.

PEERBool peerIsConnected(
PEER peer );
RoutineRequired HeaderDistribution
peerIsConnected<peer.h>SDKZIP

Return Value

Returns PEERTrue if connected to the chat server, PEERFalse otherwise.

Parameters

peer
[in] Initialized peer object.

Remarks

The peerIsConnected function tests to check whether the peer object has connected to the chat server. It returns PEERFalse if the peer object has not connected.

Section Reference: Gamespy Peer SDK