curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Websockets libcurl 8.3.0

From: john via curl-library <>
Date: Mon, 16 Oct 2023 08:24:46 -0400

I'm trying to build a Windows C++ WebSockets app using libcurl 8.3.0 built
I am not using any 3rd party websocket libraries.
I can accomplish the upgrade with the curl_easy_setopt(Curl,

I am unable to get 'curl_ws_send' to work.

What does libcurl do for the 'curl_ws_send' request?
Do I need other curl_easy_setopt before doing the 'curl_ws_send'?
What should the buffer in the 'curl_ws_send' contain?

Any pointers and examples would be greatly appreciated.

Received on 2023-10-16