Function cassandra_cpp_sys::cass_cluster_set_local_address
source ยท pub unsafe extern "C" fn cass_cluster_set_local_address(
cluster: *mut CassCluster,
name: *const c_char,
) -> CassError
Expand description
Sets the local address to bind when connecting to the cluster, if desired.
@public @memberof CassCluster
@param[in] cluster @param[in] name IP address to bind, or empty string for no binding. Only numeric addresses are supported; no resolution is done. @return CASS_OK if successful, otherwise an error occurred.