use IO::Select; my $s = IO::Select->new($socket); while (not $done) { my @socks = $s->can_read($timeout); if (@socks) { read_socket(); whatever(); } else { close_process(); } }
In reply to Re: Timeouts/timers on Win32 system
by Anonymous Monk
in thread Timeouts/timers on Win32 system
by Dovkont
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |