Function arceos_api::net::ax_udp_send_to
source · pub fn ax_udp_send_to(
socket: &AxUdpSocketHandle,
buf: &[u8],
addr: SocketAddr
) -> AxResult<usize>
Available on crate feature
net
only.Expand description
Sends data on the UDP socket to the given address. On success, returns the number of bytes written.