Installing Libpcap or Npcap
Installing required third party software.
On Windows
Download Npcap installer from https://nmap.org/npcap.
Install Npcap in "Winpcap Compatible Mode"
Other installation methods:
On Linux
On Mac OS X
Libpcap should be installed on Mac OS X by default.
Using latest version of libpcap:
Download libpcap source code from https://www.tcpdump.org
tar -xzvf libpcap*.tar.gz
cd libpcap
./configure --prefix=/usr/local
make
sudo make install
Run your application with custom native library path jna.library.path=/usr/local/lib
Last updated
Was this helpful?