gpDisconnect

GameSpy SDK

gpDisconnect

This function terminates the local connection. This should always be called when the connection is no longer needed.

void gpDisconnect(
GPConnection * connection );
RoutineRequired HeaderDistribution
gpDisconnect<gp.h>SDKZIP

Parameters

connection
[in] A GP connection interface.

Remarks

This function should be called to disconnect a connection when it is no longer needed. After this call, connection can be reused for a new connection.

Section Reference: Gamespy Presence SDK

See Also: gpDestroy