>>      the order of return value from getaddrinfo(3) has to be carefully
>>      designed - in your case, I bet you need to return AF_INET6 first on
>>      AI_PASSIVE getaddrinfo lookup.
>Yes, getaddrinfo() flagged AI_PASSIVE with PF_UNSPEC hints SHOULD return 
>PF_INET6 before PF_INET.  glibc is ok at this point.

        "getaddrinfo(3) should sort replies so that it respects bind(2)
        behavior".  for Tim's case and linux's case, due to bind(2) behavior,
        getaddrinfo(3) should return AF_INET6 entries first.

itojun
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to