Pages: [1]   Go Down
Author Topic: How to get the average time with using ICMPPING library?  (Read 360 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,
I wanna use the ICMP Ping library to ping a IP address in some times and comes out with the average Time.
From Blake F's ping example, it gave me repeatedly ping results and without the average time.
To do that, do i need to change something in the ICMP Ping library or just modify in his ping example.
Any suggestions? Thanks very much.

Offline Offline
Faraday Member
Karma: 111
Posts: 5236
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

For your next post: include the necessary links! I guess you meant this library:

You just need to make several pings and calculate the average ( You don't need to change the library you just have to implement a simple loop building a sum and do a division afterwards.

Pages: [1]   Go Up
Jump to: