Subject: acountry.c sample

acountry.c sample

From: Gisle Vanem <>
Date: Mon, 10 Dec 2007 15:55:14 +0100

I've attached a sample application for converting an IP-address
to country and country-code. This uses the service from
I originally wrote it using gethostbyname(), but it now uses c-ares functions.

Before adding it to cvs, I would be happy if someone could try it on Unix
and a big-endian machine. I've only tested it on Win32. Attached.


Received on 2007-12-10