The application is sending an XML message at one time, the TCP/IP stack is not. That's the whole point of our conversation -- one "send" does not equal to one "receive".
Yes, you ignore the fact that TCP is a stream protocol and not a datagram protocol. If you want to handle XML messages then you have to detect the start and end of a message by yourself. QXmlStreamReader can help you with that a bit.Do you see any issue in my code.
Bookmarks