Hello,
I have a problem with QTcpSocket's "write" method.
I have a client and a server. Server tries to send some data to a client using the write function, it returns a correct number of bytes sent. But in reality, data is not sent, client can't read it. I tried to catch messages sent by server using WireShark and discovered that message is not sent, even though the write method does not return -1, it returns a correct number.

What could be a source of that error?