Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to check TCP_KEEPIDLE, TCP_KEEPCNT, TCP_KEEPINTVL in Windows using QTCPSocket
ManiRon last edited by
I want to check the connection status of server from client . when the cable is removed, The QTCPSocket doesn't emit any signal saying that the server is disconnected , So in order to overcome this whether the options which are used in Linux OS such as TCP_KEEPIDLE, TCP_KEEPCNT, TCP_KEEPINTVL are available in QTCPSocket or is there any other way to detect the connection status .
Thanks In Advance
Kent-Dorfman last edited by Kent-Dorfman
This post is deleted!
Kent-Dorfman last edited by
Read the docs for QAbstractSocket. There are plenty of methods and signals for you to experiment with.