Click here to Skip to main content
15,938,218 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
H.Brydon 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

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.
Share this answer

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900