Function bitcoind::get_available_port

source ยท
pub fn get_available_port() -> Result<u16>
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