GeoipCode3 Function

Gets the three character country code from an IP address. (USA, CAN, etc)

bool GeoipCode3(const char[] ip, char ccode[4])

Parameters

const char[] ip

Ip to determine the country code.

char[4] ccode

Destination string buffer to store the code.

Return Value

True on success, false otherwise.