Maintainer: Spandan Sharma (spandan.sharma@maidsafe.net)
|Crate|Documentation|Linux/OS X|Windows|Issues|
|:---:|:-----------:|:--------:|:-----:|:----:|
||
|
|
|
|
| MaidSafe website | SAFE Dev Forum | SAFE Network Forum | |:----------------------------------------:|:-------------------------------------------:|:----------------------------------------------:|
Retrieve network interface info for all interfaces on the system.
rust
// List all of the machine's network interfaces
for iface in get_if_addrs::get_if_addrs().unwrap() {
println!("{:#?}", iface);
}
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MaidSafe Contributor Agreement (CONTRIBUTOR), shall be dual licensed as above, and you agree to be bound by the terms of the MaidSafe Contributor Agreement.