cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: about curl_multi_add_handle,help me:)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 10 Mar 2012 23:34:35 +0100 (CET)

On Thu, 8 Mar 2012, Chenglong Chen wrote:

> use the interface curl_multi_add_handle,it's will callback the function that
> markd CURLMOPT_SOCKETFUNCTION.at the time,i hope i can take some parameter
> to the callback function.can i?

You can set a custom parameter to get passed to the CURLMOPT_SOCKETFUNCTION
callback with the CURLMOPT_SOCKETDATA option,

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-10