On Mon, Jan 06, 2003 at 06:42:26PM -0800, Lev Walkin wrote: > Consider using libpcap - this is the portable library that uses > bpf, raw socket, packet socket or whatever packets source is available > for the particular platform. > > Pcap tutorial available here: > http://reactor-core.org/security/libpcap-tutorial.html
In addition to libpcap, I think if one is interested in using raw sockets, libnet is a library that is definitely one not to miss: http://www.packetfactory.net/libnet It is a well maintained library, and has examples for ICMP and other protocols. -- Craig Rodrigues http://home.attbi.com/~rodrigc [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message