GeoipContinentCode Function

Gets the two character continent code from an IP address. (EU, AS, etc)

Continent GeoipContinentCode(const char[] ip, char ccode[3])

Parameters

const char[] ip

Ip to determine the continent code.

char[3] ccode

Destination string buffer to store the code.

Return Value

The continent id on success, 0 otherwise.