QTcpSocket reads its own data
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.
Can you show some code?
I would, but I've already changed it. Now it just doesn't do as much as it did. I'd show the code if I still had it. Thanks anyway.