1+ or broken application messages

Imported from previous forum

[ original email was from Asim Kaleem - asimletters@yahoo.com ]
Hi,
Consider a case, I send a new order to XYZ firm in 2 part, half message in 1 go and the other half in the 2nd go, message is properly formated according to the specs. i know its a real irritating way for sending messages, any one seen this thing happening somewhere else? or another case could be that i send 1+ messages in 1 go, same here…last msg is broken…and will be completed the next time I send the data over the wire.

[ original email was from Dean Kauffman - dean.kauffman@tradeweb.com ]
Socket reads are not guaranteed to complete on message boundaries. One “completion” might contain a message fragment or parts of several messages, so your engine must have logic to reconstruct logical messages using fields 8, 9 and 10 before handing them up to be processed by the application.

Hi, Consider a case, I send a new order to XYZ firm in 2 part, half
message in 1 go and the other half in the 2nd go, message is properly
formated according to the specs. i know its a real irritating way for
sending messages, any one seen this thing happening somewhere else? or
another case could be that i send 1+ messages in 1 go, same
here…last msg is broken…and will be completed the next time I send
the data over the wire.