Function arceos_api::net::ax_udp_recv
source · pub fn ax_udp_recv(
socket: &AxUdpSocketHandle,
buf: &mut [u8]
) -> AxResult<usize>
Available on crate feature
net
only.Expand description
Receives a single datagram message on the UDP socket from the remote address to which it is connected. On success, returns the number of bytes read.