3.2.4.7 ndb_mgm_check_connection()

Description.  This function can be used to determine whether a management server is running on a given connection from a management client.

Prior to MySQL 5.1.17, this function was available but required extremely large timeouts to be configured for it to be effective.

Signature. 

int ndb_mgm_check_connection
    (
      NdbMgmHandle handle
    )

Parameters.  An NdbMgmHandle (see Section 3.1, “General Concepts”).

Return value.  This function returns -1 in the event of an error; otherwise it returns 0.