get-port

Get an available port


Usage

```rust use get_port;

fn main() { let anavailableport = getport::getport().unwrap(); // Returns the first available port in default range let anavailableportinrange = getport::getportinrange(get_port::PortRange { min: 5000, max: 6000 }).unwrap(); // Returns the first available port in speciefied range

// ...

} ```


Future