add winpcap 4.0.2 from url http://www.winpcap.org/
[natblaster.git] / winpcap / dox / wpcap.htm
blob9989c0b920832e3d258b985034322721c7afa8c6
1 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
5 <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
6 <meta name="ProgId" content="FrontPage.Editor.Document">
7 <title></title>
8 </head>
10 <body>
11 <p>This section contains the user manual of <code><font face="Courier New">wpcap.dll</font></code>, the
12 dynamic library that contains the public WinPcap API.
13 <font face="Times New Roman">wpcap.dll </font>exports a set of
14 system-independent functions for packet capture and network analysis. These
15 functions can be used to:</p>
16 <ul>
17 <li>obtain the list of the available network adapters
18 <li>retrieve various information about an adapter, like the description and the list of addresses</li>
19 <li>sniff the packets using one of the network interface cards of the PC</li>
20 <li>send packets to the network
21 <li>efficiently save packets to disk and load them with an interface similar to the one of
22 live capture</li>
23 <li>create packet filters using a high level language and apply them to the captured
24 packets</li>
25 </ul>
26 <p>wpcap.dll is compatible with libpcap, the well known packet capture library
27 for Unix. This compatibility means that one can develop portable network tools
28 that will run on the Win32 OS family and on all of the major Unix flavors.</p>
29 <p>Several portions of the manual present in this section derive directly from the man pages of tcpdump and libpcap, maintained by the tcpdump.org developers. Therefore, if you
30 are looking for updated docs, you can consult the web site <a href="http://www.tcpdump.org">www.tcpdump.org</a>.</p>
31 <h2>Note</h2>
32 <p>Some functions are marked <i>deprecated</i>
33 or <i>discouraged</i>. The meanings of these labels are:</p>
34 <ul>
35 <li><i>discouraged</i>: the use of another function with similar purpose is
36 suggested, however this one is still valid.</li>
37 <li><i>deprecated</i>: the function is present only for portability and
38 backward compatibility. It should be avoided, and it is strongly suggested
39 to use another equivalent function instead.<br>
40 </li>
41 </ul>
42 <p>
43 </body>
45 </html>