thread ping

2004-06-01 Thread Eckart Uhlig
Hi all, I have to measure the ping reply time for several ip addresses. The problem is, I don't want to wait for the reply of the ping to ip1 and send then the ping to ip2. Both pings should go out almost in parallel on the line. Furthermore ip1 ip2 should be pinged more than one time e.g. 5

Re: thread ping

2004-06-01 Thread Mike Jackson
I don't think using hires() in a threaded app is a great idea - ping/hires() calls are generally implemented by hogging the cpu, which would skew other results. Apart from that, looks like a perfectly legitimate threaded multi-host pinger :) each thread should be able to accumulate and aggregate