I've used Net::Pcap for a number of projects on Unix. Looks like there's a windows version as well (http://www.bribes.org/perl/wnetpcap.html). Net::Pcap uses the pcap library (see www.winpcap.org), which is at the heart of applications like tcpdump/windump. You can specify filter criteria (for the network traffic) and one or more callbacks will be called when a packet matching your criteria is found by the pcap-library.
Tobias > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of John Mason Jr > Sent: Tuesday, December 12, 2006 6:59 AM > To: perl-win32-users@listserv.ActiveState.com > Subject: Re: FW: lazy, lazy, lazy > > A non perl solution but depending on the time to develop a > solution might be worth the cost > > <http://www.tethyssolutions.com/automation-software.htm> > > > John > > Eisengrein, Peter wrote: > > Dan had emailed me directly asking how he might go about > doing a packet capture, to which I replied directly. I > thought it might be useful to others on the list, so I'm > sharing the wonder that is Wireshark (was Ethereal). > > _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs