The cmm_connect() function is implicit in the first
call to the Cluster Membership Manager (CMM) Application Programming Interface
(API). You do not need to call this function to create a CMM connection; but
use this function to test the availability of a CMM connection, or to set
the timeout value. The default timeout is five seconds.
The timeout parameter is globally used by the
CMM API to signify the maximum amount of time for which a call can block.
The type of the timeout is a timespec_t and the value
must be greater than 0 seconds, 0 nanoseconds. Note that if the value of the
timeout is too short, you risk being unable to use the CMM API. This is because
every call would fail since the timeout would be expired before the call finished.
Note This function is not related to cluster information; therefore,
can be called from any node - even a node that is not part of a cluster.