Function libzt::zts_bsd_connect[][src]

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

@brief Connect a socket to a remote host

@param fd Socket file descriptor @param addr Remote host address to connect to @param addrlen Length of address @return ZTS_ERR_OK if successful, ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument. Sets zts_errno