Function libzt::zts_set_reuse_addr [−][src]
pub unsafe extern "C" fn zts_set_reuse_addr(fd: c_int, enabled: c_int) -> c_int
Expand description
@brief Enable or disable SO_REUSEADDR
@param fd Socket file descriptor
@param enabled [0, 1]
integer value
@return ZTS_ERR_OK
if successful, ZTS_ERR_SERVICE
if the node
experiences a problem, ZTS_ERR_ARG
if invalid argument. Sets zts_errno