Just use "\n" as your end-of-record character (so you can use <SOCK>, even though it is often a bad idea) and do s/([\n\\])/\\$1/g before sending and s/\\./"n"eq$1?"\n":$1/ge; after you receive it.
- tye (but my friends call me "Tye")In reply to (tye)Re: Stream delimiting chars
by tye
in thread Stream delimiting chars
by jepri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |