Function bind_udp_with_device
pub async fn bind_udp_with_device<N>(
name: N,
) -> Result<UdpSocket, Box<dyn Error + Send + Sync>>Available on crate feature
udp and (Android or Fuchsia or Linux) only.Expand description
Creates a new UdpSocket, which will be bound to the specified (interface) device name).
The returned socket is ready for accepting connections and connecting to others.