TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: JAN PANTELTJE
from: DAVE
date: 2018-06-23 20:18:00
subject: Re: 3.5 touch screen

On 23/06/18 08:20, Jan Panteltje wrote:

> Last night I wrote a new version of ip_to_country,
> need to see if I can make it faster using successive approximation in the
very very long IP list.
> But it does work, finds most countries (all so far).
> If people need it I can put what I have now on the website, ask here.
> Work in progress.

Can't you just use geoip?

(untested) $ apt-get install geoip-bin geoip-database

then use geoiplookup to find the country for an IP.
--
Dave

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.