Subject: RE: undocumented but used functions

RE: undocumented but used functions

From: Bert Belder <bertbelder_at_gmail.com>
Date: Wed, 13 Feb 2013 15:41:26 -0800

> I noticed that acountry.c and ahost.c, two of our demo examples, use
> ares_inet_ntop() and ares_inet_pton().
>
> None of these functions are part of our documented public API and I would
> like to clean this up.
>
> Anyone who feels strongly enough about this subject to speak up for either
> making them part of the API or for properly removing the use of them from
> the examples?

For a long time we used these functions in node.js. It's quite useful to
have an implementation of inet_pton/inet_ntop available that works the same
everywhere, especially if you care about windows support.

- Bert
Received on 2013-02-14