Search: 
Available in: IP*WORKS!
Ipmonitor Class
IPMonitor Component [IP*Works! V8]

Properties   Methods   Events   Configuration Settings  

The IPMonitor component is used to listen to network traffic.

NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.

Remarks

The IPMonitor component will bind to a specific local host address and listen for network traffic received by the interface. The interface must support promiscuous mode (may not work in many wireless cards because of security considerations), and must be installed on Windows 2000 or greater.

NOTE: If your computer connects to a switch, the switch will only forward packets addressed to your computer. If your computer is on a hub, then you will receive everything.

NOTE: The IPMonitor component is not available on the .NET Compact Framework.

The use of this component requires administrative permissions.

The first step in using the IPMonitor component is to set LocalHost to the IP address whose traffic you wish to monitor, then set Active to True. For each packet that crosses the interface, the component will parse the header and fire an IPPacket event.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for complete descriptions.

AcceptData Enables or disables data reception (the IPPacket event).
Active Enables or disables network monitoring.
IPPacket The contents of the current packet.
LocalHost The name of the local host or user-assigned IP interface through which connections are initiated or accepted.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for complete descriptions.

Config Sets or retrieves a component configuration setting.
DoEvents Processes events from the internal message queue.
ListIPAddresses Lists the valid IP addresses for this host.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for complete descriptions.

Error Information about errors during data delivery.
IPAddress Fired for each valid ip address on this host.
IPPacket Fired whenever a packet is received.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for complete descriptions.

AbsoluteTimeout Determines whether timeouts are inactivity timeouts or absolute timeouts.
CodePage The system code page used for Unicode to Multibyte translations (Windows/COM only).
FirewallData Used to send extra data to the firewall.
InBufferSize The size in bytes of the incoming queue of the socket.
OutBufferSize The size in bytes of the outgoing queue of the socket.
ReceiveAllMode Enables a socket to receive all IPv4 or IPv6 packets on the network.

| About | Privacy Policy | Terms of Use |
© Copyright 2008 /n software inc.