in reply to Re^4: A non-blocking server using 'select' calls
in thread A non-blocking server using 'select' calls
It's not. Add $|++; to the top of your script. I have tested that server on Win2K, WinXp, RH7, Fedora2 and it works as advertised. On Linux you need the $|++ as print passes through STDIO and gets buffered. It will work if you replace the print with syswrite( STDOUT, $_, 1 ) as well.
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: A non-blocking server using 'select' calls
by nikos (Scribe) on Nov 11, 2004 at 11:53 UTC | |
by tachyon (Chancellor) on Nov 11, 2004 at 11:55 UTC | |
by nikos (Scribe) on Nov 11, 2004 at 12:05 UTC | |
by tachyon (Chancellor) on Nov 11, 2004 at 12:24 UTC | |
by nikos (Scribe) on Nov 11, 2004 at 12:34 UTC |