Half-open QTcpSocket

  • I'm working with QTcpServer and QTcpSocket for making a server
    on the other side there is a client written in C, which calls shutdown(socket, SHUT_WR) after writing request, so it only expects data from server
    but when client calls shutdown function, I get RemoteHostClosedError and cannot write anything to Client (although isWritable returns true)
    is there any workaround?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.