Crate random_port

Source

Modules§

error

Structs§

PortPicker
PortPicker is a simple library to pick a free port in the local machine.

Enums§

Protocol

Functions§

is_free
Check if a port is free in the local machine. If the host is not specified, it will check on all local addresses defined in the system.