GeoipCountry Function

Gets the full country name. (max length of output string is 45)

bool GeoipCountry(const char[] ip, char[] name, int maxlength)


const char[] ip

Ip to determine the country code.

char[] name

Destination string buffer to store the country name.

int maxlength

Maximum length of output string buffer.

Return Value

True on success, false if no country found.