Qt 6.11 is out! See what's new in the release
blog
QTcpSocket reads its own data
General and Desktop
3
Posts
2
Posters
1.1k
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?
-
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.