in reply to Re: Timeout problem using IO::Socket
in thread Timeout problem using IO::Socket

Net::Ping would be a problem on UNIX machines. ICMP pings require the script to be run as root. Windows users won't have the same problem.

You could either try to patch your local version of Net::Ping to disable the root requirement, or use backticks or system to execute the ping.