Subject: c-ares and getaddrinfo() for IPv6

c-ares and getaddrinfo() for IPv6

From: Ramasamy, Vasanthakumari <varamasamy_at_sonusnet.com>
Date: Thu, 29 Jan 2015 21:28:47 +0000

Hi,

From RFC 6157: "IPv6-only or dual-stack clients MUST use the newer getaddrinfo() name lookup function, instead of gethostbyname() [16]. The new function implements the Source and Destination Address Selection algorithms specified in RFC 3484 [9], which is expected to be supported by all IPv6 hosts."

I would like to know whether there are plans to use getaddrinfo() instead of gethostbyname() in c-ares.

Thanks,
Vasanthi
Received on 2015-01-29