cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to cleanly close the curl socket in case of multi interface?

From: nikhil ap <niks3089_at_gmail.com>
Date: Mon, 29 Sep 2014 18:11:34 +0530

"Not that I can think of, no. We have never seen a need or desire for API
methods that would make that possible."

Okay thanks! I would like to write an API which maps each easy handle to a
single socket. How should I go about in doing this?

On Mon, Sep 29, 2014 at 5:00 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Mon, 29 Sep 2014, nikhil ap wrote:
>
> I would like to use the same easy handle that set this connection up. So
>> when I run 100 connections in parallel, I will have 100 easy handles
>> dedicated for each connection that should do transfers for only those
>> connections.
>>
>> Is there quick way to achieve this?
>>
>
> Not that I can think of, no. We have never seen a need or desire for API
> methods that would make that possible.
>
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-- 
niks

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-29