Broken TCP messages

You need message framing. The protocol must specify how large the messages are – usually either a constant well-known size, a length prefix, or using message delimiters.

Leave a Comment