Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Net::Ping, the mini series

by meredith (Friar)
on Jun 06, 2003 at 12:22 UTC ( [id://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 - hattmoward.org

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-03-28 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found