pub async fn announce(
ip: &str,
start_port: u16,
end_port: u16,
selected_port: u16,
)
Expand description
Announces this node’s presence to potential peers in the network. If the user gave peers in args, we will only connect to those peers. If not, we will scan the port range and try connecting to all sockets.