Function libzt::zts_init_set_random_port_range[][src]

pub unsafe extern "C" fn zts_init_set_random_port_range(
    start_port: c_ushort,
    end_port: c_ushort
) -> c_int
Expand description

@brief Set range that random ports will be selected from. This is an initialization function that can only be called before zts_node_start().

@param start_port Start of port range @param end_port End of port range @return ZTS_ERR_OK if successful, ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument.