PacketX Documentation

3.2.2.0

Introduction
PacketX class library integrates WinPcap packet capture functionality with ActiveX programming and scripting languages. PacketX hides the low level programming details by implementing simple class framework that can be used to build networking applications with minimum effort and time.
Supported Platforms
Windows 98, NT, 2000, XP
Requirements
WinPcap 3.0 or later.
How to use
PacketX can be used from Visual Basic, Visual C++, Visual C#, VBScript, JScript, Internet Explorer, C++ Builder, Delphi or any other tool that can work with ActiveX objects. An example is probably the best way to go. Let's see how to use it from VBScript:
 '// Create PackeX instance
 Set oPktX = WScript.CreateObject("PktX.PacketX","PacketX_")
 
 '// Select adapter
 oPktX.Adapter = oPktX.Adapters(1)
 
 '// Start and stop capture
 oPktX.Start
   WScript.Sleep(60000)
 oPktX.Stop
 
 '// Packet event handler
 Public Sub PacketX_OnPacket(ByRef oPacket)
   '// Process packet ...
 End Sub 
For more information see the How to Use page.
Credits
This product includes software developed by the Politecnico di Torino, and its contributors.

Copyright © 2000-2007 beeSync. All rights reserved.