gt2GetSocketSOCKET
This function returns the actual underlying socket for a GT2Socket.
- SOCKETĀ gt2GetSocketSOCKET(
- GT2Socket socket );
Routine | Required Header | Distribution |
---|---|---|
gt2GetSocketSOCKET | <gt2.h> | SDKZIP |
Return Value
The underlying socket associated with the GT2Socket.
Parameters
- socket
- [in] The handle to the socket.
Remarks
This can be used for socket sharing purposes, along with the gt2UnrecognizedMessageCallback.
Section Reference: Gamespy Transport SDK
See Also: gt2SetUnrecognizedMessageCallback