I haven't checked myself, but this has most probably been fixed by GNU libc 2.5. (Getaddrinfo now sorts addresses according to RFC 3484.) Juliusz