mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-03-28 00:28:21 -04:00

If the address is `""` then an available address is automatically picked. ``` // Network#allocate_tcp_port if listen_address.is_empty() { // If listen address is empty, find us a port iteratively let port = self.find_available_tcp_port(5150)?; let ip_addrs = available_unspecified_addresses(); Ok((port, ip_addrs)) } else { // ... } ```