in reply to Re^4: Simple question regarding Bidirectional socket programming
in thread Simple question regarding Bidirectional socket programming
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Simple question regarding Bidirectional socket programming
by sajanagr (Acolyte) on Jun 16, 2010 at 06:27 UTC |