
WinPcap - Home
For many years, WinPcap has been recognized as the industry-standard tool for link-layer network access in Windows environments, allowing applications to capture and transmit …
WinPcap · Download
Mar 28, 2021 · WinPcap Has Ceased Development. We recommend Npcap. The WinPcap project has ceased development and WinPcap and WinDump are no longer maintained. WE …
WinPcap · Developer Resources
Mar 3, 2013 · The latest stable WinPcap version is 4.1.3 At the moment there is no development version of WinPcap. For the list of changes, refer to the changelog.
WinPcap Documentation
Introduction This Manual describes the programming interface and the source code of WinPcap. It provides detailed descriptions of the functions and structures exported to programmers, along …
Sending Packets - WinPcap
While pcap_sendpacket () offers a simple and immediate way to send a single packet, send queues provides an advanced, powerful and optimized mechanism to send a collection of …
Obtaining the device list - WinPcap
Both libpcap and WinPcap provide the pcap_findalldevs_ex () function for this purpose: this function returns a linked list of pcap_if structures, each of which contains comprehensive …
Filtering the traffic - WinPcap
The functions used to filter packets are pcap_compile () and pcap_setfilter (). pcap_compile () takes a string containing a high-level Boolean (filter) expression and produces a low-level byte …
Obtaining advanced information about installed devices
Additionally, pcap_findalldevs_ex () can also return remote adapters and a list of pcap files that are located in a given local folder. The following sample provides an ifprint () function that …
Capturing the packets without the callback - WinPcap
The callback-based capture mechanism of pcap_loop () is elegant and it could be a good choice in some situations. However, handling a callback is sometimes not practical -- it often makes …
Using WinPcap in your programs
Include the file pcap.h at the beginning of every source file that uses the functions exported by library. If your program uses Win32 specific functions of WinPcap, remember to include …