Yes. I've always favoured length prefixes to delimiters in protocols I've written--mostly RS-232, RS-432 and some short range wireless hand-held devices (think barcode scanners in supermarkets but 15+years ago).
But that doesn't really fit with the *nix, everything-is-a-file way of working.
In reply to Re^3: poorly documented behaviour of readline() and IO::Select
by BrowserUk
in thread poorly documented behaviour of readline() and IO::Select
by vsespb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |