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? -
@PLuS said in 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?I am also in the same situation. I'll share solution soon.