Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Net::Ping, the mini series

by meredith (Friar)
on Jun 06, 2003 at 12:22 UTC ( #263645=note: print w/ replies, xml ) Need Help??

in reply to Net::Ping, the mini series

Just to chime in, since this is an old post: The year is now 2003, and Win32 Perl (5.8.0 at writing) does support the alarm() call, hence alleviating one issue with using Net::Ping. But, unfortunately, security has become even more important, and you're unlikely to find any systems that allow TCP or UDP pings. I'd suggest doing your 'ping' by connecting to another known port, for example 25/smtp. After connecting you can issue the command HELO, which the server will reply with a hello back, then issue a QUIT before closing. This is also a good check of higher-level function on the remote system, but that's another node! ;)

mhoward - at -

Comment on Re: Net::Ping, the mini series

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://263645]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2015-11-27 08:53 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (722 votes), past polls