in reply to Ping and Tracert
Shouldn't be too hard to $result=`ping $host`; And parse the output with a simple regexp, but you should be aware that ping returns different output depending on which platform you run it on, so if you are going to distribute it, that might not work for you.
Anyways, good luck :)
qw[marcus]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Ping and Tracert
by qball (Beadle) on Aug 31, 2001 at 21:57 UTC | |
by tachyon (Chancellor) on Aug 31, 2001 at 22:20 UTC | |
by qball (Beadle) on Aug 31, 2001 at 23:56 UTC | |
by tachyon (Chancellor) on Sep 01, 2001 at 00:11 UTC | |
by qball (Beadle) on Sep 01, 2001 at 00:18 UTC | |
| |
by marcus (Scribe) on Aug 31, 2001 at 22:16 UTC | |
by trantor (Chaplain) on Aug 31, 2001 at 23:39 UTC |