In article <[EMAIL PROTECTED]> (at Fri, 22 Jul 2005 15:29:02 -0400), "mclellan, dave" <[EMAIL PROTECTED]> says:
> But why does getaddrinfo() give me and sockaddr_in6 back? IPv6 is not > turned on for the machine; shouldn't getaddrinfo() only give me a > sockaddr_in? Specification says nothing about it, and it is debatable. Traditionally, many getaddrinfo() implementations return all addresses associated with the hostname, even if the node does not support IPv6. AI_ADDRCONF may help you in some cases. Some people says it is okay and it is even better not to return IPv6 addresses if it is unavailable (e.g. without global addresses) on the node. --yoshfuji --------------------------------------------------------------------- The IPv6 Users Mailing List Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]
