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


>> 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.)
>
>Why, it makes no sense.  If you can handle both, IPv4 and IPv6, why
>should you get the mapped IPv4 address back?  I just tried it on
>Solaris 8.  You only get the IPv4 address.

Sorry, I misunderstood your first message.  (I thought you were talking about 
native IPv6 addresses, not IPv4-mapped ones.)  Please ignore what I wrote.

p.



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