gt2GetSocketData
Returns the user data pointer stored with this socket.
- void * gt2GetSocketData(
- GT2Socket socket );
Routine | Required Header | Distribution |
---|---|---|
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.
Section Reference: Gamespy Transport SDK
See Also: gt2SetSocketData, gt2SetConnectionData, gt2GetConnectionData