QTcpSocket reads its own data
General and Desktop
3
Posts
2
Posters
896
Views
1
Watching
-
I have a client and a server. This server will write something, the client will read all from the socket but get nothing. Then, the server will read and will get back the data that it put in. This is after they have been verified connected and I have done QTcpSocket::flush().
I don't understand why this happens, even when I can verify using a single step debugger that the go in the correct order.Any ideas?