Modules§
Structs§
Functions§
- is_free
- Check whether the port is not used on TCP and UDP
- is_
free_ tcp - Check whether the port is not used on TCP
- is_
free_ udp - Check whether the port is not used on UDP
- random_
free_ port - The system randomly assigns available TCP and UDP ports
- random_
free_ tcp_ port - The system randomly assigns available TCP ports
- random_
free_ udp_ port - The system randomly assigns available UDP ports
- select_
free_ port - Gets a matching port based on the
Selector
parameter constraint - select_
from_ given_ port - Check from
given_port
and return the first available port Return ifgiven_port
is available; Otherwisegiven_port += given_port
until the port is available