Examples of the Packet Sniffer SDK using:
Simple example:
Simple example demonstrates the basic features of the Packet Sniffer SDK library. Please see its source texts to learn:
- How to start working with Packet Sniffer SDK library;
- How to get information about network adapters installed on the system with Packet Sniffer SDK library;
- How to start working with the network adapter;
- How to send a packet synchronously;
- How to send a packet asynchronously;
- How to create a simple BPF filter for IP traffic;
- How to capture and process a packet;
- How to obtain the network adapter statistics;
- How to obtain the BPF user-settable filter statistics.