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 Android Security Essentials Live Lessons this week in the Android 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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Someone please help me with the traceroute using jpcap
 
Similar Threads
networking problem :-( ????
I made an ARP with java but it do not work properly
How to lock java app for single PC
Traceroute using Jpcap problem
networking problem :-( ??