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-
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
2 matches
Mail list logo