Function arceos_api::net::ax_tcp_peer_addr

source ·
pub fn ax_tcp_peer_addr(socket: &AxTcpSocketHandle) -> AxResult<SocketAddr>
Available on crate feature net only.
Expand description

Returns the remote address and port of the TCP socket.