cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: parallel transfer techniques

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 15 Jun 2009 16:37:11 +0200 (CEST)

On Mon, 15 Jun 2009, Mohun Biswas wrote:

> 3. Use the multi API. I'm leaning this way because it seems the most
> "curl-ish" solution. The problem I fear here is that I already have a select
> loop with a lot of file descriptors in play for the incoming data. The idea
> of managing two select loops in parallel feels painfully tricky. I'm not
> sure if it's possible to have just one loop and distinguish between 'input'
> and 'output' sockets.

I'd say that the multi interface was more or less designed for a scenario like
this...

-- 
  / daniel.haxx.se
Received on 2009-06-15