I'm writing a simple binary protocol over TCP/IP: It is composed as below
[DATASIZE - 2 Byte Fixed][DATA]
With this solution, even I read multiple messages, I can divide each one by its size, but I have one doubt: It is possible to receive only a "portion" of a single message?