STOMP – The Simple Text Oriented Messaging Protocol
I&#x27;m a bit confused why people want things like this. I mean, a simple protocol is great. But why text? Text protocol for arbitrary data is always going to make things more complicated than necessary. And even &quot;text&quot; STOMP includes &quot;NULL &#x2F; octet 0&quot; in the description.<p>Here are some thing that are complicated in text: escaping data, escaping line endings, type of line endings, escaping headers, encoding and string comparison, data delimitation, preallocating right buffer sizes, parsing long values, parsing numeric values, potential for confusion on what&#x27;s opaque and what&#x27;s parsable.<p>All of these are solved by even the most trivial binary TLV:<p><pre><code>    4-byte tag, 4-byte length, lenth-bytes data
</code></pre>
It&#x27;s not going to be telnet-compatible, but it prevents so many issues from ever arising. If you need to debug it, it&#x27;s trivial to even look at the hex dump of packets.<p>&#x2F;rant (I don&#x27;t understand the obsession with text formats)