gt2StringToHostname

GameSpy SDK

gt2StringToHostname

Get the hostname associated with a hostname or dotted IP.

const char * gt2StringToHostname(
const char * string );
RoutineRequired HeaderDistribution
gt2StringToHostname<gt2.h>SDKZIP

Return Value

Hostname associated with a hostname or dotted IP.

Parameters

string
[in] Hostname or IP to lookup.

Remarks

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

Section Reference: Gamespy Transport SDK

See Also: gt2StringToHostInfo