in reply to Re^3: Net::Ping output
in thread Net::Ping output
I am sorry ,but didn't get you .would you please elaborate more,because I have seen this code & it does not seems like to draw the required values
$p = Net::Ping->new(); $p->hires(); ($ret, $duration, $ip) = $p->ping($host, 5.5); printf("$host [ip: $ip] is alive (packet return time: %.2f ms)\n", + 1000 * $duration) if $ret; $p->close();
Now please tell me how can I calculate RTT,how I can get transmitted packets,recieved packets.Please!!!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Net::Ping output
by Anonymous Monk on Aug 20, 2013 at 11:27 UTC | |
by gaurav (Sexton) on Aug 20, 2013 at 14:32 UTC | |
by Anonymous Monk on Aug 20, 2013 at 14:49 UTC | |
by Anonymous Monk on Aug 22, 2013 at 06:43 UTC |
In Section
Seekers of Perl Wisdom