Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

WinPcap tutorial: a step by step guide to using WinPcap
[WinPcap user's manual]


Modules

group  Obtaining the device list
group  Obtaining advanced information about installed devices
group  Opening an adapter and capturing the packets
group  Capturing the packets without the callback
group  Filtering the traffic
group  Interpreting the packets
group  Handling offline dump files
group  Sending Packets
group  Gathering Statistics on the network traffic

Detailed Description

This section shows how to use the features of the WinPcap API. It is organized as a tutorial, subdivided into a set of lessons that will introduce the reader, in a step-by-step fashion, to program development using WinPcap, from the basic functions (obtaining the adapter list, starting a capture, etc.) to the most advanced ones (handling send queues and gathering statistics about network traffic).

Several code snippets, as well as simple but complete programs are provided as a reference: all of the source code contains links to the rest of the manual, making it is possible to click on functions and data structures to jump to the corresponding documentation.

The samples are written in plain C, so a basic knowledge of C programming is required. Also, since this is a tutorial about a library dealing with "raw" networking packets, good knowledge of networks and network protocols is assumed.

Next >>>


documentation. Copyright (c) 2002-2005 Politecnico di Torino. Copyright (c) 2005 CACE technologies. All rights reserved.