| |||||||||||
| |||||||||||
Ping from Perl? Posted by enquirer (enquirer), 1 May 2004 How can I test whether a computer is visible on the network in a Perl program?Posted by admin (Graham Ellis), 1 May 2004 The Net:![]() Here's a module I use to test for web servers running on port 80 ... you can also test for icmp (or udp) rather than tcp visibility - icmp is the "normal" ping but has to be run with admin privelidge. Code:
Built into a program on our inhouse network, this allows us to check all our systems in a few seconds - it does involve a bit of forking (perhaps I should post this as a separate thread?) but we get results like: Code:
This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |