Function libzt::zts_recv [−][src]
pub unsafe extern "C" fn zts_recv(
fd: c_int,
buf: *mut c_void,
len: size_t,
flags: c_int
) -> 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
@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