On Jan 26, Brian May <bam@debian.org> wrote: >Also, is getaddrinfo a glibc function? I cannot find any information >on this function :-(. It is. It's documented in _Unix network programming_ by Stevens. For a simple and complete example look at the whois package. -- ciao, Marco