gt2GetLocalPort

GameSpy SDK

gt2GetLocalPort

Get's a socket's local port.

unsigned short gt2GetLocalPort(
GT2Socket socket );
RoutineRequired HeaderDistribution
gt2GetLocalPort<gt2.h>SDKZIP

Return Value

The local port in host byte order.

Parameters

socket
[in] The handle to the socket.