[snip]
> 
> The current version of libpcap is 0.8.3, which supports 
> receiving but not sending raw packets.  The top-of-tree CVS 
> version of libpcap supports sending raw packets on many 
> platforms, including Linux, so, while the version that comes 
> with most Linux distributions doesn't support sending raw 
> packets, just receiving them, you could download the 
> top-of-tree CVS version from

It also should be noted that while libpcap doesn't support sending raw
packets on Linux, the Linux sockets library does support it natively.
The big advantage to having it winpcap is the mere fact that no native
API exists in the Win32 world to send raw packets, so in that respect
WinPcap is a godsend.  On a Linux environment it is not necessary.

So, unless you have your heart set on using the same portable code on
both Linux and Win32, you shouldn't need to download the libpcap tip...
Just take a look at the "packet, PF_PACKET(7)" man pages on linux for a
discussion of sending raw socket data.

> 
>       http://www.tcpdump.org/
> 
> (get the "libpcap-current.tar.gz" file; look for "Current Tar 
> files" on the tcpdump.org home page), compile and install it, 
> and use that (note that it'll install it, by default, under 
> "/usr/local", so you'll have
> *two* versions of libpcap installed; make sure you compile 
> your program with "-I/usr/local/include" *AND* link with 
> "-L/usr/local/lib", so that it uses the new version).  It 
> supports "pcap_sendpacket()" but *NOT* any of the 
> "pcap_sendqueue_" APIs.
> 



================================================================= This is the WinPcap 
users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use
 mailto: [EMAIL PROTECTED]
=================================================================

Reply via email to