Home: Perl Programming Help: Win32 Programming Help:
Searching for IO's that will be like Time out IO(alarm) in win32



tzanany
New User

Mar 8, 2010, 8:35 AM


Views: 6950
Searching for IO's that will be like Time out IO(alarm) in win32

 
the alarm command does not work in win32
so i search for diffrent command
i tried the timeout io:
http://search.cpan.org/~patl/Time-Out-0.11/Out.pod

but i found there:
Blocking I/O on MSWin32

alarm(2) doesn't interrupt blocking I/O on MSWin32, so 'timeout' won't do that either.

so i want something that will be like time out
when the software reading from the other computer some times its stuck so i need something that will kill the command after cup of seconds of trying.