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 <curl-library_at_lists.haxx.se>
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
with 'USE_WEBSOCKETS'.
I am not using any 3rd party websocket libraries.
I can accomplish the upgrade with the curl_easy_setopt(Curl,
CURLOPT_CONNECT_ONLY, 2l).

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.






-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-10-16