Closed justin-mccann closed 3 months ago
@justin-mccann could you please take a look at the comments from @lalitb ?
@justin-mccann could you please take a look at the comments from @lalitb ?
Done; thanks for the reminder, and sorry it was needed.
Add support for DNS lookups using getaddrinfo(3). The API supports lookups of hostnames, IPv4, or IPv6 addresses.
This uses the first AF_INET or AF_INET6 address returned from the list and fails if none is available.
A followup PR triggers new lookups on socket failure.