in reply to non-blocking listen on a tcp server
while(<$connection>) { # waits for data
I think you want select, or the easier to use IO::Select.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: non-blocking listen on a tcp server
by ikegami (Patriarch) on Jun 09, 2010 at 18:43 UTC | |
by monkeyfish (Initiate) on Jun 09, 2010 at 22:57 UTC | |
by ikegami (Patriarch) on Jun 09, 2010 at 23:40 UTC |