aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Someone please help me with the traceroute using jpcap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Someone please help me with the traceroute using jpcap" Watch "Someone please help me with the traceroute using jpcap" New topic
Author

Someone please help me with the traceroute using jpcap

Archana Karthik
Greenhorn

Joined: Dec 06, 2011
Posts: 3
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:
JpcapCaptor captor=JpcapCaptor.openDevice(device,2000,false,5000);

Is there any other way to capture rtt?
Urgently require the solution!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Someone please help me with the traceroute using jpcap