arceos_api::net

Function ax_udp_peer_addr

Source
pub fn ax_udp_peer_addr(socket: &AxUdpSocketHandle) -> AxResult<SocketAddr>
Available on crate feature net only.
Expand description

Returns the remote address and port of the UDP socket.