local-ip-addr

License: MIT

A simple library for getting the local IP address of the current host.

Usage

Add this to your Cargo.toml:

toml [dependencies] local-ip-addr = "0.1"

Example

```rust use localipaddr::getlocalip_address;

fn main() { let ipaddr = getlocalipaddress().unwrap(); println!("Local IP address: {}", ip_addr); } ```