geoip_code3

Syntax

#pragma deprecated Use geoip_code3_ex() instead.
native geoip_code3(const ip[], result[4]);

Usage

ip
The IP address to lookup.
result
The result buffer.

Description

Lookup the three character country code for a given IP address. Sets the buffer to "error" on
an unsuccessful lookup.

Return

The result length.