geoip_country

Signature
native geoip_country(const ip[], result[], len = 45);
Description

Lookup the full country name for the given IP address. Sets the buffer to "error" on

an unsuccessful lookup.

Parameters
  • ip — The IP address to lookup.
  • result — The result of the geoip lookup.
  • len — The maximum length of the result buffer.
Returns

The result length.

Назад
Верх