Does any1 use pcapy module on win32 platforms?

Richie Hindle richie at entrian.com
Fri Aug 26 10:59:00 EDT 2005


[billiejoex]
> Hi. I'm trying to use pcapy module on Windows XP prof sp2 [...]
> On Windows machines the findalldevs() function (an output on the bottom)
> gives an unicode object that can't be processed by open_live function
> that tipically accept strings.
> 
> >>> pcapy.findalldevs()
> [u'\u445c\u7665\u6369\u5c65\u504e\u5f46\u6547\u656e\u6972\u4e63\u6964\u5773\u6e6
> [...]

For what it's worth, I can run that on my XP Professional SP2 machine and
it works perfectly:

>>> pcapy.findalldevs()
[u'\\Device\\NPF_{15310604-FCFC-4016-9D36-14DAA948A600}',
 u'\\Device\\NPF_{62280C1D-DC5C-42AF-BA0F-6BDB48418CA5}']

I'm using WinPcap 3.0.  My packet.dll is stamped as version 3.0.0.18.
Maybe you're running a different version?

-- 
Richie Hindle
richie at entrian.com



More information about the Python-list mailing list