pub fn get_available_port() -> Result<u16, Error>
Expand description

Returns a non-used local port if available.

Note there is a race condition during the time the method check availability and the caller