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.

is it posible using websocket API with multi handlers with select?

From: Josť Luis Zabalza Cestau via curl-library <>
Date: Mon, 31 Jul 2023 09:05:30 +0000


I try to read data from several descriptors (for example stdin 0 descriptor or serial port descriptor), wait data from a websocket connection and send http get query at a time.

My first try was a modified example. I can read a command from keyboard, send a http query, and connect to websocket, at time but periodic data received form websocket don't wakeap the select.

Any idea.

Thanks in advanced.

Received on 2023-07-31