gt2GetLocalPort
Get's a socket's local port.
- unsigned short gt2GetLocalPort(
- GT2Socket socket );
Routine | Required Header | Distribution |
---|---|---|
gt2GetLocalPort | <gt2.h> | SDKZIP |
Return Value
The local port in host byte order.
Parameters
- socket
- [in] The handle to the socket.
Section Reference: Gamespy Transport SDK
See Also: gt2GetRemoteIP, gt2GetRemotePort, gt2GetLocalIP