> gethostbyname2() is a GNU thing.
Curiously this worked when I just tried compiling this on OpenBSD,
but
> AF_INET6 code needs to be #ifdef'd to
> something because not every host handles IPv6.
that particular code didn't work and I was already debating trying
to remove it. I'll add this to the list...
Bear