problems with getaddrinfo() and _res.options
Philip Blundell
Philip.Blundell@pobox.com
Sat May 27 04:14:00 GMT 2000
>As a consequence of these changes getaddrinfo() now does not return
>the IPv4 and IPv6 address of a host if AF_UNSPEC is passed in as the
>protocol. This is another change, but again a useful one.
This will break all existing dual-stack applications. Standard practice up
until now has been to use AF_UNSPEC and expect to get back both IPv4 and IPv6
addresses. (I think this is true for all platforms, not just Linux.)
p.
More information about the Libc-alpha
mailing list