[Libwebsockets] Long delay when establishing connection
heaton209.x at gmail.com
Wed Jun 3 05:00:19 CEST 2020
I use libwebsocket in an embedded system.The main program is an infinite
loop, it will process an external interrupt every 0.5ms, and call
lws_service in the interrupt service program.Implemented websocket-client
on the PC side, and found that it takes 2000ms to complete the connection.
Is it because the libwebsocket server is waiting for the connection in a
Is there a similar non-blocking way to create a websocket
connection?Because our current system is a wireless communication system,
if the remote device is connected for a long time, the wireless
transmission will be interrupted.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets