Skip to main content

addresses

Function addresses 

Source
pub fn addresses() -> Result<Vec<IpAddr>>
Expand description

The addresses of the interfaces that are up, without loopback and link-local addresses (E-57).

println!("addresses: {:?}", sys_lib::net::addresses()?);

ยงErrors

As interfaces.