in reply to is there script to detect if remote machine is alive/reachable w/o using Net::Ping?
my $req = new HTTP::Request HEAD => "http://some.server.net/"; my $res = $ua->request($req);
This is still assuming that HTTP is indeed the service of interest.
Matt
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: is there script to detect if remote machine is alive/reachable w/o using Net::Ping?
by jsprat (Curate) on Jun 06, 2002 at 20:51 UTC |