Why wouldn't you try to make this as easy to parse as possible, just as prepend a size to the message at least, and possible to other fields internally too. Make the size a fixed width and it makes reading easier.
I deal with crappy protocols on a daily basis in the form of FIX and other exchanges. I hope to never have to deal with this one.
I deal with crappy protocols on a daily basis in the form of FIX and other exchanges. I hope to never have to deal with this one.