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-blocking IO is not an option either) for up to a minute. I've tried
Win32::PingICMP to test the machine for upness before attempting an HTTP
connection but ICMP is blocked on some the machines being tested, and also
does not help if the machine is up but HTTP server is down.
Thanks,
Kurt
What where you planning on using the alarm function for? I can think of a
potential work around, but it would depend on what you were planning:)
Cheers,
jez.