On/Dnia Mon, Jan 08, 2001 at 09:10:16AM +1100, Craig Small wrote/napisał(a) > > 1. getaddrinfo should not return IPv4 addresses if an IPv6 address exist, > > since using the IPv6 address implies usage of the IPv4 address. > Why not use getipnodebyname()? You got a whole bunch of flags you can > set to determine what sort of address you are after. because getipnodebyname() is obsolete function. It's not supported in glibc 2.2 and afaik XNET specs treat it as obsolete, too.
> Craig Small VK2XLZ GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 -- Arkadiusz Miśkiewicz, AM2-6BONE [ PLD GNU/Linux IPv6 ] http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/ [ enabled ]

