Under the Windows OS family! Which libraries to use? And features? How to count incoming and outgoing packets on a machine with a given IP address?

    1 answer 1

    I would start (and probably ended on it myself ) my search from the libpcap library . For windows port is called winpcap.

    For creating sniffers and packet capture and analysis in general, a great option.

    This library also has a C++ wrapper that may be more convenient to use - libcappp.