$|++; # <-- Turns on automatic flusing after each write... No! That turns on automatic flushing after each write to STDOUT. Do one of the following:
Though I'm surprised that sockets don't default to being unbuffered. - tye (but my friends ca)select( ( select(SOCK), $|++ )[0] ); # or use IO::Handle; SOCK->autoflush(1);
In reply to (tye)Re: Socket: I don't get what is sent
by tye
in thread Socket: I don't get what is sent
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |