get-port

Get an available port


Usage

```rs use get_port;

fn main() -> std::io::Result<()> { let anavailableport = getport::getport(); // Returns the first available port in default range let anavailableportinrange = getport::getportinrange(get_port::Range { min: 5000, max: 6000 }); // Returns the first available port in speciefied range

// ...

} ```


Future