Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGDMk9Ht0Jb4UkpxzKrvo5cNMJViY_4a20+G3oEXD9im03PH7w@mail.gmail.com>
Date: Fri, 3 Jun 2016 11:21:42 -0400
From: John Mudd <johnbmudd@...il.com>
To: musl <musl@...ts.openwall.com>
Cc: John Mudd <johnbmudd@...il.com>
Subject: getaddrinfo, ip address sort order?

I read that getaddrinfo() returns addresses sorted based on RFC 3484. I'm
using the attached program to test it and I'm not sure if they are sorted.

I looked at the musl getaddrinfo.c here:
https://github.com/idunham/musl/blob/master/src/network/getaddrinfo.c

I don't see an obvious sort in the code. Is it there?

John

Content of type "text/html" skipped

View attachment "showip.c" of type "text/x-csrc" (1506 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.