SamuelYvon / netifaces-2

netifaces reborn
https://pypi.org/project/netifaces2/
MIT License
25 stars 8 forks source link

Too many empty output and took too long to get the results #14

Closed baitian752 closed 1 year ago

baitian752 commented 1 year ago

OS: Windows 11 Python Version: 3.11.2

image

SamuelYvon commented 1 year ago

Are you using the windows draft fork?

SamuelYvon commented 1 year ago

From the readme:

1.1 What is not working right-now The gateways API is only working if your system has a /proc/net/route file The windows API is non-functional

I will try to finish the windows api on monday; no hard promises ;)

SamuelYvon commented 1 year ago

@baitian752 Can you test with the latest code on the windows pull request and let me know how it goes? Thanks :)

For the record, on my windows machine, the performance was adequate and I did not get empty interfaces, so I am curious how that happened.

baitian752 commented 1 year ago

@SamuelYvon I use the new win-support branch, which looks like OK. Thanks for your work.

I install it with pip install git+https://github.com/SamuelYvon/netifaces-2.git@win-support

image

SamuelYvon commented 1 year ago

Perfect!