Function axlibc::accept

source ·
#[no_mangle]
pub unsafe extern "C" fn accept(
    socket_fd: c_int,
    socket_addr: *mut sockaddr,
    socket_len: *mut socklen_t
) -> c_int
Available on crate feature net only.
Expand description

Accept for connections on a socket

Return file descriptor for the accepted socket if success.