gt2GetRemotePort
Get's the connection's remote port.
- unsigned short gt2GetRemotePort(
- GT2Connection connection );
Routine | Required Header | Distribution |
---|---|---|
gt2GetRemotePort | <gt2.h> | SDKZIP |
Return Value
The remote port in host byte order.
Parameters
- connection
- [in] The handle to the connection.
Remarks
Gets the port of the computer on the remote side of the connection.
Section Reference: Gamespy Transport SDK
See Also: gt2GetRemoteIP, gt2GetLocalIP, gt2GetLocalPort