On 05/19/2010 03:34 AM, Daniel Stenberg wrote:
> On Tue, 18 May 2010, Ben Greear wrote:
>
>> We do a lot of work on multi-homed machines, and I'd like to be able
>> to specify the source IP address for outgoing DNS requests generated
>> by libcurl logic.
>>
>> It appears that this will not be too hard to add to c-ares, probably
>> in the configure_socket() method in ares_process.c
>>
>> Before I start making changes, I just want to make sure that no one is
>> currently working on this.
>
> It should be fairly easy, yes, and I think it would be a welcomed addition.
>
> In case of need, I'm sure you can find inspiration to the actual code
> from the curl source code.

I've yet to actually integrate and run this code, but does this
look like a valid approach for c-ares?