pylibpcap for Win32?

Gerhard Häring gh at
Fri Mar 21 21:32:10 CET 2003

* Grant Edwards <grante at> [2003-03-21 20:19 +0000]:
> In article < at>, Gerhard Häring wrote:
> >> I've been looking for a pylibpcap module for Win32. [...]
> > 
> > libpcap can be compiled on win32 and there should even be
> > binaries around (the Ethereal I use on win32 uses libpcap).
> I know.  I've got both Ethereal and libpcap installed on win32
> systems.
> > Is there a specific problem compiling the Python wrapper on
> > win32?
> Don't know.  I don't have a C compiler for Win32,


> and I've never SWIG'ed anything under Windows before.

Swigged libraries usually include the prepared .c/.h files, so you don't
have to run SWIG just to build. SWIG should only be necessary to

> If I'm going to have to learn C programming under Win32, it's probably
> less work to just read the packets in Python...

I'll give it a try next time I reboot to Windows.

mail:   gh at

More information about the Python-list mailing list