tcpdump mailing list archives

Re: libpcap pcap_sendpacket support across platforms.


From: Guy Harris <guy () alum mit edu>
Date: Wed, 7 Apr 2004 00:58:51 -0700

On Tue, Mar 23, 2004 at 04:56:43PM -0800, Mark Pizzolato wrote:
I wonder where the sendto() stuff is really necessary.  The simple send()
worked for us on RH 7.3-Fedora Core1 on Intel.  And RH 6.2 on Sparc, and
numerous other linux environments.  We've never gotten a complaint....

"send()" appears to work with a 2.2[.x] kernel, at least, and would
probably work on 2.4[.x] and 2.6[.x] as well, as the socket is bound.  I
don't have a 2.0[.x]-kernel system on which to test it.

I've checked in a change to just use "send()".
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: