#pragma deprecated Use geoip_code2_ex() instead. native geoip_code2(const ip, ccode);
The IP address to lookup.
The result buffer.
Lookup the two character country code for a given IP address. Sets the buffer to "error" on an unsuccessful lookup.
This function has been deprecated, do NOT use it
Reason: This native will overflow the buffer by one cell on an unknown ip lookup! Use geoip_code2_ex instead.
The result length.