How to do raw Ethernet under Win32?

Gerhard Häring gh at
Thu Jul 24 16:54:04 CEST 2003

Grant Edwards wrote:
> I've never done any SWIG stuff before, but it looks like all I
> have to do is add some stuff to the .i file to export the
> pcap_sendpacket() function.

I haven't done any SWIG work, either (apart from unsuccessful tries at 
adding something to wxPython once). Instead I directly hacked the SWIG 
generated C code, so my patch is little but a quick hack.

It's also some time ago and I never used the thing myself, so don't ask 
me about details :-)

-- Gerhard

More information about the Python-list mailing list