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.
Supported IPv4 and IPv6 address.
For more details, please visit: http://www.ip2location.com/developers/c
autoreconf -i -v --force
./configure
make
cd data
perl ip-country.pl
Execute "vcvarsall.bat". (This file is part of Microsoft Visual C, not ip2location code)
nmake -f Makefile.win
cd data
perl ip-country.pl
autoreconf -i -v --force
export CFLAGS=-I/usr/include/malloc
./configure
make
cd data
perl ip-country.pl
cd test
test-IP2Location
- Download free IP2Location LITE databases at http://lite.ip2location.com
- Download IP2Location sample databases at http://www.ip2location.com/developers
Email: [email protected].
URL: http://www.ip2location.com