Usage
extern crate get_local_ip;
Features
-
ifconfig
currently just support forunix
system.
License
MIT
extern crate get_local_ip;
fn main() {
println!("{:?}", get_local_ip::ifconfig().unwrap()); // Ip { local: "127.0.0.1", network: "192.168.43.102" }
}
ifconfig
currently just support for unix
system.MIT