On Fri, 28 Nov 2008, Gregor Jasny wrote:
> Done. I've added the socket type (DGRAM/STREAM) to the callabck for
> convenience. Strictly speaking, this information is available via
> getsockopt().
>
> Maybe you want to rename ares_set_socket_callback to match the new option
> getter/setter scheme.
I'm quite fine with adding specific functions for all config options. It saves
users from lots of problems. I'm leaning heavily towards going that route.
I did miss a man page for your new function in that patch though...
-- / daniel.haxx.seReceived on 2008-12-01