Core pcap code derived or copied from samples at http://www.tcpdump.org/pcap.htm Programming with pcap Tim Carstens timcarst at yahoo dot com Further editing and development by Guy Harris guy at alum dot mit dot edu At this point you should be able to write a sniffer using pcap. You have learned the basic concepts behind opening a pcap session, learning general attributes about it, sniffing packets, applying filters, and using callbacks. Now it's time to get out there and sniff those wires! This document is Copyright 2002 Tim Carstens. All rights reserved. Redistribution and use, with or without modification, are permitted provided that the following conditions are met: Redistribution must retain the above copyright notice and this list of conditions. The name of Tim Carstens may not be used to endorse or promote products derived from this document without specific prior written permission. /* Insert 'wh00t' for the BSD license here */