curl-library
Re: how do I create websocket client with libcurl (was: A quick hack to support Websocket with libcurl)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Mar 2015 08:28:28 +0100 (CET)
Date: Thu, 19 Mar 2015 08:28:28 +0100 (CET)
On Thu, 19 Mar 2015, YAMADA Yasuharu wrote:
> The point is curl_easy_send/recv can not use without using
> curl_easy_perform. My wish is curl_easy_send/recv can use with
> curl_multi_perform.
Ah right, it is even documented to work like that. I forgot.
In order to make it work for the multi interface we need to add some logic.
See lib/easy.c:curl_easy_recv() and the easy_connection() function.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2015-03-19