I've just written two new components for monitoring ethernet packets, 
with a test application that displays the two different techniques:

1 - Raw sockets (W2K and later) using ICS, does not any other software 
installed, but may not capture send packets on W2K and XP, only W2K3, 
and ignores non-IP.

2 - Winpcap device driver, needs to be installed (two DLLs and a driver),
but captures all packets including non-IP, from http://www.winpcap.org/.
Note the Delphi Winpcap pcap.pas and packet32.pas were originally 
written by Lars Peter Christiansen, but have several bug fixes and many 
new features. In theory Winpcap will run on Windows 9x, but it's not 
been tested. It has only been tested with the latest version, WinPcap 
3.1 beta 4 dated 29 October 2004.

Both components have properties to filter local traffic, and to exclude 
data for better performance. 

The source and executable are available from:

http://www.magsys.co.uk/download/software/monsock1.zip

Any comments appreciated.  My main purpose in writing these components 
is to monitor internet bandwidth and usage by IP address and service, 
and there will be another demo program doing this soon. 

Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to