Function libzt::zts_get_reuse_addr [−][src]
pub unsafe extern "C" fn zts_get_reuse_addr(fd: c_int) -> c_int
Expand description
@brief Return whether SO_REUSEADDR
is enabled
@param fd Socket file descriptor
@return 1
if enabled, 0
if disabled, ZTS_ERR_SERVICE
if the node
experiences a problem, ZTS_ERR_ARG
if invalid argument. Sets zts_errno