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();
($ret, $duration, $ip) = $p->ping($host, 5.5);
printf("$host [ip: $ip] is alive (packet return time: %.2f ms)\n",
+ 1000 * $duration)
Now please tell me how can I calculate RTT,how I can get transmitted packets,recieved packets.Please!!!