🌏 get_local_ip```rust extern crate getlocalip;
use getlocalip::{local, network};
fn main() { println!("{:?}", network().unwrap().get()); // "192.168.43.134:49187" println!("{:?}", local().unwrap().get()); // "127.0.0.1:60234" } ```
network to getting ip network.
ifconfig to getting local and network ip from your local computer.
windows.MIT