SimpleTCP icon indicating copy to clipboard operation
SimpleTCP copied to clipboard

Multi-byte delimiter support

Open BrandonPotter opened this issue 7 years ago • 2 comments

Had a situation the other day where XML messages were coming across a TCP connection.

Thought it would be nice to be able to specify a multi-byte delimiter to split messages, for example '/whatever>' could be the end of a message.

Adding an issue so I don't forget the next time I have a few hours to implement or if someone else wants to take a shot at it.

BrandonPotter avatar Jul 22 '17 16:07 BrandonPotter

This would be great. I am receiving data from a GPS tracker over TCP with messages ending in a 2 byte delimeter 0x0D 0x0A (carriage return and line feed). If memory servers, the NMEA protocol also has the same stop bytes...

fabs-rodriguez avatar Dec 29 '17 16:12 fabs-rodriguez

The PLC I'm listening to also uses 0x0D0A as delimiter. Would be great to add multi-byte delimiter support.

svantevit avatar Oct 27 '18 20:10 svantevit