PcapDevice.h File Reference
#include "Device.h"
#include <pcap.h>

Go to the source code of this file.


class  pcpp::IPcapDevice


 The main namespace for the PcapPlusPlus lib.

Detailed Description

Next define is ncessery in MinGw environment build context. The "-std" flag causes a lot of bugs and incompatibilities on older platforms one of them is that "-DWIN32" flag is not properly passed from pcpp build system. But libpcap is strongly depends on definition of "WIN32" macro on Windows platform. Next lines represents manual handling of this situation. Better solutions are accepted via PR on: https://github.com/seladb/PcapPlusPlus/issues