Driver Login TimeoutThe c-treeACE SQL ODBC Driver for Windows supports a configurable timeout on driver connection login. An application can set the login timeout by calling the SQLSetConnectAttr() ODBC API function with the SQL_ATTR_LOGIN_TIMEOUT attribute and a timeout value. /* Set the Login timeout to 5 seconds */ SQLSetConnectAttr(hdbc, (void*)SQL_ATTR_LOGIN_TIMEOUT, 5, 0); This timeout sets the maximum time for which the ODBC driver waits for the connection attempt to c-treeACE SQL to complete. If the connection attempt does not complete in the specified time period, the ODBC driver fails the connection attempt with the following error: 20212, "Error in Network Daemon". The default login timeout value is 15 seconds. |
|||