Function libzt::zts_set_send_timeout [−][src]
pub unsafe extern "C" fn zts_set_send_timeout(
fd: c_int,
seconds: c_int,
microseconds: c_int
) -> c_int
Expand description
@brief Set the value of SO_SNDTIMEO
@param fd Socket file descriptor
@param seconds Number of seconds for timeout
@param microseconds Number of microseconds for timeout
@return ZTS_ERR_OK
if successful, ZTS_ERR_SERVICE
if the node
experiences a problem, ZTS_ERR_ARG
if invalid argument. Sets zts_errno