-
Notifications
You must be signed in to change notification settings - Fork 49
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
new method to get hostnames #15
Comments
You mean like parsing |
Not really. For current machine hostname you have |
Hey @roccomuso. It's been a while, but I was wondering if you're up for submitting a PR for this. |
Yep, I'm wondering if it's worth creating a new module using |
It would be worth having a method like
network.get_hostnames(cb)
, that returns a mapHostname <--> IP
for the current active interface? (parsing the output ofarp -a
on unix).The text was updated successfully, but these errors were encountered: