Open GoogleCodeExporter opened 9 years ago
may be it's not about pythoncom,just about the pcap.
I just change the pcap.pcap call's first parameter to a real network interface
,not the
\\Device\\NPF_GenericDialupAdapter, the code will work ok. and i think the eth1
in windows is not correct. ethx only for linux
below is my computer interface ,you can use the findalldevs to get all of them.
devs=pcap.findalldevs()
print devs
['\\Device\\NPF_GenericDialupAdapter', '\\Device\\NPF_{6D07FB9F-1370-4F23-A5D3-B
4F5F490CC0C}', '\\Device\\NPF_{773A9714-E74C-40DF-87BD-70130934E3DB}']
Original comment by xueyaos...@gmail.com
on 14 Oct 2010 at 6:02
Original issue reported on code.google.com by
parks.jo...@gmail.com
on 7 May 2009 at 4:27