pcap (packet capture) consists of an application programming interface (API) for capturing network traffic
pcap (packet capture) consists of an application programming interface (API) for capturing network traffic. Unix-like systems implement pcap
in the libpcap
library; Windows uses a port of libpcap
known as winpcap.
Source