Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Someone please help me with the traceroute using jpcap

Archana Karthik
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone implemented the RTT for this 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:
JpcapCaptor captor=JpcapCaptor.openDevice(device,2000,false,5000);

Is there any other way to capture rtt?
Urgently require the solution!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic