Capturing and analyzing network packages using Jpcap library. For BUAA CST Java Programming Course Design.
- Put
Jpcap.dll
in yourdefault_jre(>1.8.0)/bin
folder. - Start program.
- Search device, the Current Device label should show something.
- Start capture, until the Stop button is clicked.
- File->Save to, save file in your preferred path.
- Eclipse:
- Configure Build Path, add
jpcap.jar
to your Libraries. - Change Native library location to the dictionary of
Jpcap.dll
.
- Configure Build Path, add
- VS Code:
- Put
Jpcap.dll
in yourdefault_jre(>1.8.0)/bin
folder. - Edit the
.classpath
file and configure the library path.
- Put