Function libax::cbindings::ax_accept

source ·
#[no_mangle]
pub unsafe extern "C" fn ax_accept(
    socket_fd: c_int,
    socket_addr: *mut sockaddr,
    socket_len: *mut c_uint
) -> isize
Available on crate features net and cbindings only.
Expand description

Accept for connections on a socket

Return file descriptor for the accepted socket if success.