Soot
Hello,
With a client I've received the following messages from the LS server:
#1
345,1|101.7700|101.770|101.770|102.160|99.700|4|R-52983577457220-0-78-PROD-INX-1-Equiti
#2
es
How do I know, a message is complete?
Do I have to wait for a final "\r\n" at the end of a message and concatenate all received messages until then?
Or is this an issue on the LS server?
Thanks in advance!
Best regards,
Soot
Dario Crivelli
If #1 and #2 represent the results of subsequent read operations, then yes, they have to be joined and you should also wait for a final \r\n.
The Server internally writes each line as a whole, but the transport process may split it.