-
Notifications
You must be signed in to change notification settings - Fork 5.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
Get all the network interfaces in Deno #8137
Comments
@bartlomieju : I've submitted this enhancement request today. Do you think this will be useful? Is it okay if I assign it to myself and work on it? |
It should probably provide pretty much the same properties as in node if that is possible. |
|
It'd be lovely to be able to get changes to the network interfaces too. Ideally that covers both a change in what interfaces there are, and changes in status of an interface. There's addons like https://github.com/JacobFischer/netlinkwrapper for node. There's a subfeature required to do this well in Linux: one communicates with a netlink socket over UDP. libuv has a wip pr to enable non AF_INET{,6} communication, for example. |
@bnoordhuis is working on this feature. |
Add an op to list the network interfaces on the system. Prep work for denoland#8137 and `os.networkInterfaces()` Node compat in std. Refs denoland/deno_std#1436.
Add an op to list the network interfaces on the system. Prep work for denoland#8137 and `os.networkInterfaces()` Node compat in std. Refs denoland/deno_std#1436.
Add an op to list the network interfaces on the system. Prep work for denoland#8137 and `os.networkInterfaces()` Node compat in std. Refs denoland/deno_std#1436.
Add an op to list the network interfaces on the system. Prep work for #8137 and `os.networkInterfaces()` Node compat in std. Refs denoland/deno_std#1436.
Add a method Deno.networkInterfaces() to get the list of all network interfaces with some details like:
The text was updated successfully, but these errors were encountered: