cURL / Mailing Lists / curl-library / Single Mail


Re: how do I create websocket client with libcurl (was: A quick hack to support Websocket with libcurl)

From: Daniel Stenberg <>
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.

List admin:
Received on 2015-03-19