I wrote: >use getaddrinfo or the new getipnodebyname call (which is a replacement for >gethostbyname2 and is not yet implemented in glibc as far as I know). The Sorry, I was wrong; Uli implemented getipnodebyname some time ago by the looks of things. p.