Function libzt::zts_bsd_recvfrom[][src]

pub unsafe extern "C" fn zts_bsd_recvfrom(
    fd: c_int,
    buf: *mut c_void,
    len: size_t,
    flags: c_int,
    addr: *mut zts_sockaddr,
    addrlen: *mut zts_socklen_t
) -> ssize_t
Expand description

@brief Receive data from remote host

@param fd Socket file descriptor @param buf Pointer to data buffer @param len Length of data buffer @param flags Specifies the type of message receipt @param addr Destination address buffer @param addrlen Length of destination address buffer @return Number of bytes received if successful, ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument. Sets zts_errno