Click here to Skip to main content
13,408,185 members (44,411 online)
Rate this:
Please Sign up or sign in to vote.
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
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

Rate this: bad
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.180221.1 | Last Updated 12 Feb 2013
Copyright © CodeProject, 1999-2018
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