This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: problems with getaddrinfo() and _res.options
- To: drepper at cygnus dot com (Ulrich Drepper)
- Subject: Re: problems with getaddrinfo() and _res.options
- From: Philip Blundell <Philip dot Blundell at pobox dot com>
- Date: Sat, 27 May 2000 13:03:54 +0100
- cc: Arkadiusz Miskiewicz <misiek at pld dot org dot pl>, GNU libc testers <libc-alpha at sourceware dot cygnus dot com>
- References: <20000522142656.A24360@ikar.t17.ds.pwr.wroc.pl> <m3ya4wph0u.fsf@localhost.localnet>
>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.