-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Windows) net_if_addrs() should return broadcast address #669
Comments
...also, now we have |
Any update on this request? I'm happy to help get this implemented. |
Feel free to make a pull request. Personally I don't think I will do it any
|
Here's a PR for netmask: #874 |
I don't know psutil well enough to attempt a PR integrating it, but with the address and netmask you can compute the broadcast address like so:
|
Thanks a lot for the hint. Implemented in #2501. |
Netmask and broadcast addresses are currently not returned on Windows. https://pypi.python.org/pypi/netifaces/ lib support both but the code is kinda twisted and not so easy to port. CC @mrjefftang in case you want to give this a try.
Edit: netmask added as of #874
The text was updated successfully, but these errors were encountered: