Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Thinking about our passive exposure to IPv6 issues. Parent comment
AF_ANY is a thing, and it’s a best practice.
gethostaddr (iirc) was the old interface, but nowadays getaddrinfo is almost the default and supports AF_ANY.
There are no comments on this comment yet.
AF_ANY is a thing, and it’s a best practice.
gethostaddr (iirc) was the old interface, but nowadays getaddrinfo is almost the default and supports AF_ANY.