Crate | Documentation | Linux/macOS | Windows | Issues |
---|---|---|---|---|
MaidSafe website | SAFE Dev Forum | SAFE Network Forum |
---|
Retrieve network interface info for all interfaces on the system.
// List all of the machine's network interfaces
for iface in get_if_addrs::get_if_addrs().unwrap() {
println!("{:#?}", iface);
}
- Create an API for responding to changes in network interfaces.
This SAFE Network library is dual-licensed under the Modified BSD (LICENSE-BSD https://opensource.org/licenses/BSD-3-Clause) or the MIT license (LICENSE-MIT http://opensource.org/licenses/MIT) at your option.
Copyrights in the SAFE Network are retained by their contributors. No copyright assignment is required to contribute to this project.