in reply to Re: Socket IO NO new line
in thread Socket IO NO new line
$sock->input_record_separator(chr(3)); while (<$sock>) { ... # $_ contains one complete message }
For some history on what codes like STX and ETX originally were used for, see The ASCII Control Characters.
Update: Just noticed this suspect line in the server code:
$STX=chr(03);
|
|---|