Module net

Source

Functionsยง

find_available_tcp_port
Finds a random available TCP port.
get_socket_addr
Converts an object into a resolved SocketAddr.
parse_socket_addr_with_default_port
Attempts to parse a socket_addr. If no port is defined, it just accepts the address and uses the given default port.