geoip_code2

Синтаксис

#pragma deprecated Use geoip_code2_ex() instead.
native geoip_code2(const ip[], ccode[3]);

Употреба

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

Описание

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

Връщаща стойност

The result length.