tcpdump mailing list archives

Re: libpcap


From: Guy Harris <guy () alum mit edu>
Date: Fri, 12 Sep 2003 14:19:16 -0700


On Sep 12, 2003, at 11:24 AM, Levin, Andy wrote:

Is it possible to use libpcap under the cygwin environment???

Possibly, if either

        1) you only want to read capture files, not do live captures

or

        2) if you replace "libp" with "WinP" in "libpcap". :-)

The current CVS version of libpcap includes support for packet capturing on Win32 systems - but that support comes from WinPcap, and requires the rest of WinPcap. Cygwin doesn't magically make UNIX packet capture mechanisms work on Windows - there isn't *a* UNIX packet capture mechanism to *make* work on Windows, there are several of them, and one of the purposes of libpcap is to hide that, as much as possible, from applications, so the right place to hide the Windows packet capture mechanism is in libpcap/WinPcap, not in Cygwin (unless the Cygwin developers decide to bundle WinPcap with Cygwin).

You should ask the WinPcap developers whether you can use WinPcap under Cygwin.

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: