arceos_api::net

Function ax_udp_recv_from

Source
pub fn ax_udp_recv_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.