in reply to Re^7: A non-blocking server using 'select' calls
in thread A non-blocking server using 'select' calls
Output:... while( my @ready = $client->can_read ) { warn "Inside"; for my $fh (@ready) { ...
It looks correct but I get-bash-2.05b$ ./teletype.pl Inside at ./teletype.pl line 13. Accepted new socket Inside at ./teletype.pl line 13. aInside at ./teletype.pl line 13. aInside at ./teletype.pl line 13. aInside at ./teletype.pl line 13. Inside at ./teletype.pl line 13. ^C -bash-2.05b$
only after a press 'enter' in telnet.Inside at ./teletype.pl line 13. aInside at ./teletype.pl line 13. aInside at ./teletype.pl line 13. aInside at ./teletype.pl line 13. Inside at ./teletype.pl line 13.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: A non-blocking server using 'select' calls
by tachyon (Chancellor) on Nov 11, 2004 at 12:24 UTC | |
by nikos (Scribe) on Nov 11, 2004 at 12:34 UTC |