|
|
|
|
WinPcap is the packet capture and filtering engine for network analysis for the
Win32 platforms. The WinPcap programming interface can be used by many types of
network tools for analysis, troubleshooting, security and monitoring.
Classic tools that based on WinPcap are:
Several monthes ago we started to work under a major version of Internet Traffic
Agent
that rely on WinPcap. We found many WinPcap wrapper for Java or C# in the Internet,
but we didn't find any open source C++ wrapper.
This WinPcap C++ wrapper is a part of code of Internet Traffic Agent.
It is a simple wrapper for monitoring network traffic.
You may quickly and easily extend it's functionality.
The most important classes which constitute WinPcap C++ wrapper are:
|
|
|
CAdapter. This class implements a simple wrapper for WinPcap functions.
These functions provide for opening an adapter and capturing network packets.
CAdapter is an exception based class and will throw an exception when any errors occur.
|
|
|
CAdapterManager. This class implements adapter manager.
It monitors new network adapters in your system.
|
In the future we plan to port the source code to Linux/Unix platforms.
Copyright
You may use the source code in any product (freeware, commercial, etc.).
You may modify the source code as you want except you cannot modify the
copyright details at the top of each module.
If you have a web site or blog give a link to our web site, flexbyte.com
Download demo project - 448 Kb
Download source - 440 Kb
|
|
|