bind Network
suspend fun bindNetwork(quicV4: String? = null, quicV6: String? = null, tcpV4: String? = null, tcpV6: String? = null)
Binds the network listeners to the specified interfaces.
Up to four listeners can be bound, one for each combination of protocol (TCP or QUIC) and IP family (IPv4 or IPv6). Specify the interfaces as "IP:PORT". If IP is IPv6, it needs to be enclosed in square brackets.
If port is 0
, binds to a random port initially but on subsequent starts tries to use the same port (unless it's already taken). This can be useful to configuring port forwarding.