Function bind_udp
pub async fn bind_udp<I>(
interface: I,
) -> Result<UdpSocket, Box<dyn Error + Send + Sync>>
Expand description
Creates a new UdpSocket, which will be bound to the specified Interface.
The returned socket is ready for accepting connections and connecting to others.