Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java Networking Sockets
I am trying to develop a network traffic analyzer for windows platform and implemented on a LAN using java laguage. But I have found problem in using the PCAP library. I have installed PCAP and JPCAP both, but whatever code I try to execute, and error code is displayed that PCAP library is not found. Please suggest me the proper way of implementing the PCAP library and aslo provide me some java code to develop a Network traffic analyzer.
Posted 12-Feb-13 0:15am
Comments
H.Brydon at 13-Feb-13 1:06am
   
Also be aware that you can only monitor traffic that is addressed to other systems on your LAN. Your app will not be able to see traffic addressed to your PC or multicast or broadcast messages.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You need to check the PCAP documentation to see what the error is about. Are you sure that you are providing the path to the relevant .jar files for the library?
 
As to providing you with the code to develop this program, I am afraid that is not what we do here. You write the code, and if you have specific problems, then come back here and people will try to help you fix them.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 12 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100