This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problems with getaddrinfo() and _res.options


>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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]