Subject: Re: AfterSocketCreationFuncPtr

Re: AfterSocketCreationFuncPtr

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 1 Dec 2008 23:24:13 +0100 (CET)

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.se
Received on 2008-12-01