gt2GetSocketData

GameSpy SDK

gt2GetSocketData

Returns the user data pointer stored with this socket.

void * gt2GetSocketData(
GT2Socket socket );
RoutineRequired HeaderDistribution
gt2GetSocketData<gt2.h>SDKZIP

Return Value

A pointer to this socket's user data.

Parameters

socket
[in] The handle to the socket.

Remarks

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