gt2IPToHostname

GameSpy SDK

gt2IPToHostname

Get the hostname associated with an IP address.

const char * gt2IPToHostname(
unsigned int ip );
RoutineRequired HeaderDistribution
gt2IPToHostname<gt2.h>SDKZIP

Return Value

Hostname associated with the IP address.

Parameters

ip
[in] IP to lookup, in network byte order.

Remarks

This is a utility function which provides a subset of the functionality of gt2IPToHostInfo. See the gt2IPToHostInfo documentation for important details.

Section Reference: Gamespy Transport SDK

See Also: gt2IPToHostInfo