Function libzt::zts_bsd_accept[][src]

pub unsafe extern "C" fn zts_bsd_accept(
    fd: c_int,
    addr: *mut zts_sockaddr,
    addrlen: *mut zts_socklen_t
) -> c_int
Expand description

@brief Accept an incoming connection

@param fd Socket file descriptor @param addr Address of remote host for accepted connection @param addrlen Length of address @return New file descriptor if successful, ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument. Sets zts_errno