Function bind_udp_with_socket
pub async fn bind_udp_with_socket(
socket: Socket,
) -> Result<UdpSocket, Box<dyn Error + Send + Sync>>Available on crate feature
udp and (Windows or target_family=unix) only.Expand description
Creates a new UdpSocket, which will be bound to the specified socket.
The returned socket is ready for accepting connections and connecting to others.