gt2SetSocketData
Stores a user data pointer with this socket.
- void gt2SetSocketData(
- GT2Socket socket,
- void * data );
Routine | Required Header | Distribution |
---|---|---|
gt2SetSocketData | <gt2.h> | SDKZIP |
Parameters
- socket
- [in] The handle to the socket.
- data
- [in] A pointer to this socket's user data.
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: gt2GetSocketData, gt2SetConnectionData, gt2GetConnectionData