Re: [perl-win32-gui-users] no alarm() in Win32, any work-arounds?

2005-05-31 Thread Kurt G
I'm working on a simple network monitor that periodically checks HTTP service on a list of machines. I'm using LWP::UserAgent which offers a timeout setting but timeout is ignored in Win32, so attempting a connection to dead machine makes your program wait (in blocking mode, no less, seems non-

RE: [perl-win32-gui-users] no alarm() in Win32, any work-arounds?

2005-05-31 Thread Brian Millham
I've used LWP::UserAgent on W2K Pro and Advanced Server, and the timeout seems to work fine for me. I've also had success using alarm, but I was only testing to see if it worked, not trying it as a sanity timer (which is what a timeout would be). my $uagent = LWP::UserAgent->new; $uagent->timeout