Function libzt::zts_init_set_port[][src]

pub unsafe extern "C" fn zts_init_set_port(port: c_ushort) -> c_int
Expand description

@brief Set the port to which the node should bind. This is an initialization function that can only be called before zts_node_start().

@param port Port number @return ZTS_ERR_OK if successful, ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument.