Skip to content
Retrieve IP addresses for all interfaces. Posix & Windows
Rust C
Branch: master
Clone or download
S-Coyle Merge pull request #58 from calumcraig/codeowners
chore/codeowners:added codeowners file
Latest commit fa1ee6c Mar 13, 2019


Crate Documentation Linux/macOS Windows Issues
Documentation Build Status Build status Stories in Ready
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);

Todo Items

  • Create an API for responding to changes in network interfaces.


This SAFE Network library is dual-licensed under the Modified BSD (LICENSE-BSD or the MIT license (LICENSE-MIT at your option.


Copyrights in the SAFE Network are retained by their contributors. No copyright assignment is required to contribute to this project.

You can’t perform that action at this time.