QWebSocket doesn't detect lost connection?
Solved
General and Desktop
-
I have created a websocket which I then open - so far so good. Then I block the connection (using iptables) and the websocket never detects the loss of connection.
In addition, I send pings every 3 seconds (and never receive a pong after lost connection), yet still no disconnect signal from the websocket.
Am I expected to monitor pongs and do my own determination of disconnect (with timer)? Should QWebSocket send an error/disconnect signal once I block the port?
-