Function arceos_api::net::ax_udp_peek_from
source · pub fn ax_udp_peek_from(
socket: &AxUdpSocketHandle,
buf: &mut [u8]
) -> AxResult<(usize, SocketAddr)>
Available on crate feature
net
only.Expand description
Receives a single datagram message on the UDP socket, without removing it from the queue.