iota_config::local_ip_utils

Function new_local_tcp_socket_for_testing

Source
pub fn new_local_tcp_socket_for_testing() -> SocketAddr
Expand description

Returns a new unique TCP address (SocketAddr) for localhost, by finding a new available port on localhost.