curl-library
Re: Not able to send data using multi_socket API
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 16 May 2016 23:49:48 +0200 (CEST)
Date: Mon, 16 May 2016 23:49:48 +0200 (CEST)
On Mon, 16 May 2016, smruti kumari wrote:
> 1. init multi and easy interface
> 2. set the option to easy handle (CURLOPT_CONNECT_ONLY)
Skip that.
> 3. invoke curl_easy_perform() to connect to remote host
And skip that too.
> 4. Add easy handle to multi handle
> 5. invoke curl_multi_socket_action() API
> 5. when it invoke socket callback I invoke curl_multi_assign()
There's not enough detail for me to tell where you went wrong after this
point, but 2 and 3 are so wrong you should go back one step and read the docs
again.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-05-16