native

geoip_code2

Deprecated

Lookup the two character country code for a given IP address.

Syntax

native geoip_code2(const ip[], ccode[3]);

Description

This function has no description.

Parameters

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

Note

This native will overflow the buffer by one cell on an unknown ip lookup!

Note

Use geoip_code2_ex instead!