PacketXLib::PacketXCtrlPP Class Reference
Property pages for PacketXCtrl class.
More...
Detailed Description
Property pages for PacketXCtrl class.
The property pages dialog can be used from development environments supporting this feature. To open property pages click on the ActiveX control area using the right mouse button and select Properties from popup menu. The dialog can be used to select target network adapter and change capture related settings.
The property page displays the list of network adapters found on the system. You can configure each network adapter to have different capture settings but there can be only one selected network adapter at time. To select the adapter check the checkbox right before the adapter name. The selected adapter will be opened next time you start the capture session. You can also select the default adapter from code by using the IPktXPacketXCtrl::Adapter property.
Figure 1. PacketXCtrl property pages
To configure adapter settings select the adapter from list and click on the "Edit" button.This brings up the "Adapter settings" dialog that is used to change the following capture related parameters:
- The hardware filter is used to define low level packet filter to capture only certain types of network frames.
- The working mode can be used switch between packet capture or statistics mode.
- The buffer size defines kernel mode buffer size and min value the minimum number of bytes to copy.
- The packet filter expression can be used to limit the number of network frames captured using tcpdump like filter syntax.
- The snap length defines maximum number of bytes copied for each captured frame.
Figure 2. Adapter settings dialog
- Warning:
- The property page settings will be persisted and reloaded by PacketXCtrl instance next time you start your application. This also means that you have to use the Reset button to refresh the adapters list in case you move your project to other computer. The adapters collection can be also reset from code by invoking the IPktXPacketXCtrl::Reset method.
- See also:
- IPktXPacketXCtrl::Adapter to select default adapter and IPktXAdapter to configure adapter settings.
The documentation for this class was generated from the following file:
Copyright © 2000-2007 beeSync. All rights reserved.