instead ofuse IO::Handle; ... CLIENT->autoflush(1); ... print CLIENT "Hello from the server \n\n"; ...
use IO::Handle; ... print CLIENT "Hello from the server \n\n"; CLIENT->flush(); ...
The first is the same as calling $|=1; with the CLIENT handle selected.
In reply to Re^5: Simple question regarding Bidirectional socket programming
by ikegami
in thread Simple question regarding Bidirectional socket programming
by sajanagr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |