mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-02-18 13:24:13 -05: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 { // ... } ```