geoip_code3

Syntax

native geoip_code3(const ip[], result[4]);

Usage

Parameter Description
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.