![]() You may wonder who decides whether to return this type or the other and where does WinPcapLiveDevice fits in. Now we have an instance of PcapLiveDevice or WinPcapLiveDevice we can use. This header file contains another include to "PcapLiveDevice.h" and those 2 files contain all the APIs for capturing and sending packets: Let's start out application with a "main" method and a single include to "PcapLiveDeviceList.h". PcapLiveDevice and WinPcapLiveDevice instances In this tutorial we'll write a simple application that demonstrates how to capture and send packet over the network. ![]() You can take a look at PcapPlusPlus documentation for a comprehensive overview and API description As this functionality is less common and less used, it won't be covered in this tutorial.
0 Comments
Leave a Reply. |