summaryrefslogtreecommitdiff
path: root/network/ip2location-c/README
blob: 3ebc96d6e6f158d214ae42de48b8e7239c58c0ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
IP2Location C Library

IP2Location is a C library that enables the user to find the country,
region, city, latitude, longitude, zip code, time zone, ISP, domain
name, connection type, area code, weather, mobile network, elevation,
usage type by IP address or hostname originates from. The library
reads the geo location information from IP2Location BIN data file.

IPv4 and IPv6 addresses are supported.

It contains the IP-COUNTRY BIN databases (IPv4 and IPv6) which
consists of IP address blocks as keys and countries as
values. Developers can download other sample databases to evaluate
other features such as region, city, latitude, longitude, zip code,
ISP, domain name, connection, area code, weather code, mobile network,
elevation, and usage type code using the same C library.

To install the included IP-COUNTRY BIN databases pass DB=yes to
the slackbuild as

   DB=yes ./ip2location-c.SlackBuild