Subject: Re: 'ares_getaddrinfo' is available?

Re: 'ares_getaddrinfo' is available?

From: Daniel Stenberg <>
Date: Thu, 30 Oct 2014 11:09:12 +0100 (CET)

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.

Received on 2014-10-30