gt2StringToIPs

GameSpy SDK

gt2StringToIPs

Get the IPs associated with a hostname or dotted IP.

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

Return Value

IPs 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