View Full Version : Qt Websocket Catch If pong didnt reveived.
Bedopies
24th October 2019, 18:50
Hello, I want to implement "heart beat" or "life" function to my program. This function will check is server or internet connection down or no based on pong receiving. How I can do "if pong didnt received in time then attempt to reconnect"?
ChrisW67
25th October 2019, 08:44
Send something over websocket, start timer
When something received stop timer.
If timer expires then close websocket and attempt to reopen socket.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.