[Libwebsockets] close: cause and TCP information
eric.peiffer at al-enterprise.com
Tue Jan 14 11:21:17 CET 2020
I'm writing a web socket server based on libwebsocket.
When a client closes the web socket we have the event
But when the peer stop in an abnormal way, on the server side we do not have any event that indicate the cause. Same problem for a network issue. How can I retreive the TCP status when the web socket server receive a LWS_CALLBACK_CLOSED
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets