A few particular corner cases to make sure we handle right:
1) IPv6 is supported, but not enabled on the system (no interfaces, not
even loopback, have an IPv6 addr bound to them). I've gotten bit by this on
Solaris (see
http://sunsolve.sun.com/search/document.do?assetkey=1-66-240906-1
for a
Date:Mon, 12 Jan 2009 10:52:00 -0500
From:Ken Hornstein k...@cmf.nrl.navy.mil
Message-ID: 200901121552.n0cfq2bs001...@hedwig.cmf.nrl.navy.mil
| I don't know what the issue is here, but I think the key is to try all
| of the addresses returned by getaddrinfo().