>       therefore, i suggest
>       - on all platforms try to open 2 sockets, AF_INET6 then AF_INET
>       - ignore error from socket(2) and bind(2) on both cases
>       - raise error only if both attempt fails

        actually for the 1st bullet, obeying the result from getaddrinfo(3)
        is the right way.  not sure if getaddrinfo(3) is available on all
        platforms you need to support.

itojun
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to