gt2GetRemotePort

GameSpy SDK

gt2GetRemotePort

Get's the connection's remote port.

unsigned short gt2GetRemotePort(
GT2Connection connection );
RoutineRequired HeaderDistribution
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.