Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

How to check TCP_KEEPIDLE, TCP_KEEPCNT, TCP_KEEPINTVL in Windows using QTCPSocket



  • 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



  • This post is deleted!


  • Read the docs for QAbstractSocket. There are plenty of methods and signals for you to experiment with.


Log in to reply