Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Someone please help me with the traceroute using jpcap  RSS feed

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!
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!