libpcap

libpcap is a portable C/C++ library for capturing network traffic.

Npcap picks up where WinPcap left off

WinPcap is the major open source packet sniffing library for Microsoft Windows. Unfortunately it is no longer under active maintenance and hasn't been for quite some time. But, fear not, Npcap have picked up the baton.