On Thu, 30 Oct 2014, Vinay Kumar wrote:
I am using 'c-ares' library in our application. We have used 'getaddrinfo' in many places. Is there any equivalent function called 'ares_getaddrinfo'? Because 'ares_nameinfo.pdf' contains 'ares_getaddrinfo' in SEE ALSO section. If 'ares_getaddrinfo' is availabe, then what is the syntax?
It is a mistake, there is no such function. But it would be great to have one!
If not availabe, is there any equivalent api?
I believe ares_gethostbyname() using PF_INET and then PF_INET6 is the closest thing, but it isn't identical in functionality.
-- / daniel.haxx.se