cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: how to get socket fd from libcurl in curl multi interface.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 29 Sep 2011 09:17:45 +0200 (CEST)

On Thu, 29 Sep 2011, venkataragavan vijayakumar wrote:

Please stop the top-posting. Please read up on the netiqette for this list.

> In curl_multi_socket_action() it needs socket fd as argument, for that i
> have created socket using socket system call

No no no no.

As I explained already and that you now can see in the updated libcurl-multi.3
man page: http://curl.haxx.se/libcurl/c/libcurl-multi.html#MULTISOCKET

You get told which sockets libcurl use. You don't create sockets for libcurl.

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