cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl Multi Problem.

From: Richard Atterer <richard_at_2007.atterer.net>
Date: Mon, 6 Aug 2007 13:48:57 +0200

On Mon, Aug 06, 2007 at 05:05:33PM +0530, Surya Kiran Gullapalli wrote:
> CURLOPT_WRITEFUNCTION and CURLOPT_WRITEDATA. Now when i use these
> options to set each easy handles, I'm getting segmentation violation
> when curl_multi_perform call is made.
>
> Is this the correct way of doing?
> If so, then how do i get the file descriptors for a particular download?
> if not, which functions I've to turn to?

In the curl API, downloads don't have "file descriptors". They do use
sockets, but curl saves you the work of using sockets directly. Please read
the documentation and have a look at the examples to find out how it all
works!

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  GnuPG key: 888354F7
  | \/|  http://atterer.net  |  08A9 7B7D 3D13 3EF2 3D25  D157 79E6 F6DC 8883 54F7
   '` 
Received on 2007-08-06