Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QAbstractSocket::SocketError



  • Hi All,

    I am developing a client-server application using QTcpSocket. Each side turn on a specific computer and the two computer are connected to the same Wi-Fi.
    All communication goes well (the clients sends requests and the client make responses .)

    When I turn off the server, the client received a disconnection signal and disconnects and stops sending requests. But when I turn off the Wi-Fi connection of one computer, I don't receive nor a disconnection signal neither an error and the client still sending requests.

    Any help would be appreciated.


Log in to reply