Function arceos_api::net::ax_tcp_accept

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

Accepts a new connection on the TCP socket.

This function will block the calling thread until a new TCP connection is established. When established, a new TCP socket is returned.