File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
networking problem :-( ??
Traceroute using Jpcap problem
networking problem :-( ????
How to lock java app for single PC
I made an ARP with java but it do not work properly