gt2GetSocketSOCKET

GameSpy SDK

gt2GetSocketSOCKET

This function returns the actual underlying socket for a GT2Socket.

SOCKETĀ gt2GetSocketSOCKET(
GT2Socket socket );
RoutineRequired HeaderDistribution
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.