gt2GetRemoteIP

GameSpy SDK

gt2GetRemoteIP

Gets the connection's remote IP.

unsigned intĀ gt2GetRemoteIP(
GT2Connection connection );
RoutineRequired HeaderDistribution
gt2GetRemoteIP<gt2.h>SDKZIP

Return Value

The remote IP in network byte order.

Parameters

connection
[in] The handle to the connection.

Remarks

Gets the IP of the computer on the remote side of the connection.