/Java-Network-Capturer

java使用jpcap监控网络状态

Primary LanguageJavaMIT LicenseMIT

Java-Network-Capturer

Capturing and analyzing network packages using Jpcap library. For BUAA CST Java Programming Course Design.

Usage

  1. Put Jpcap.dll in your default_jre(>1.8.0)/bin folder.
  2. Start program.
  3. Search device, the Current Device label should show something.
  4. Start capture, until the Stop button is clicked.
  5. File->Save to, save file in your preferred path.

Preview

qq 20181111221147
qq 20181111221442

For developers

  • Eclipse:
    1. Configure Build Path, add jpcap.jar to your Libraries.
    2. Change Native library location to the dictionary of Jpcap.dll.
  • VS Code:
    1. Put Jpcap.dll in your default_jre(>1.8.0)/bin folder.
    2. Edit the .classpath file and configure the library path.