gt2SetConnectionData

GameSpy SDK

gt2SetConnectionData

Stores a user data pointer with this connection.

void gt2SetConnectionData(
GT2Connection connection,
void * data );
RoutineRequired HeaderDistribution
gt2SetConnectionData<gt2.h>SDKZIP

Parameters

connection
[in] The handle to the connection.
data
[in] A pointer to this connection's user data.

Remarks

Each connection has a user data pointer associated with it that can be used by the application for any purpose.