Has anyone implemented the RTT for this traceroute.java? I am taking the timestamp once after sending the packet and once after receiving the packet, using System.currentTimeMillis().
when I do time2 - time1, I get 5000 as the difference. I am guessing it is because of this line in the code:
Is there any other way to capture rtt?
Urgently require the solution!