3 ms·
> Binary protocols usually just specify the length of the data, followed by a binary blob with the data. MUCH simpler! It is possible to have the same simplici
by pwg 13y ago
> Binary protocols usually just specify the length of the data, followed by a binary blob with the data. MUCH simpler!
It is possible to have the same simplicity with a textual protocol, it is just that most text protocol designers don't bother with explicit prefixed lengths:
For example, see: http://cr.yp.to/proto/netstrings.txt http://cr.yp.to/proto/netstrings.txt
- wmf 13y agoWhen people say "text protocol" I think they really mean "something I can type into telnet"; stuff like netstrings and BEEP don't really count.