Skip to content
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

List IP addresses #61

Open
G3UKB opened this issue Mar 30, 2023 · 2 comments
Open

List IP addresses #61

G3UKB opened this issue Mar 30, 2023 · 2 comments

Comments

@G3UKB
Copy link

G3UKB commented Mar 30, 2023

Would it be possible to add a function to get a list of local IP addresses?

@ikskuh
Copy link
Owner

ikskuh commented Mar 30, 2023

Yes, but this is a huge amount of work, as there's not just a "list of local ip", but a "list of local ip per network adapter", so we also need adapter listing

@G3UKB
Copy link
Author

G3UKB commented Mar 30, 2023

There is a Python extension module netifaces. The C code in there does the job. It's probably a separate project though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants