Login timeout

CS_LOGIN_TIMEOUT defines the length of time, in seconds, that Client-Library waits for a login response when making a connection attempt. A Client-Library application makes a connection attempt by calling ct_connect.

This timeout specifies the allowable round-trip delay between a client request and the receipt of the server response. Multiple round trips between the client and the server may occur before ct_connect returns. CS_LOGIN_TIMEOUT applies to each round trip.

The default timeout value is 60 seconds. A timeout value of CS_NO_LIMIT represents an infinite timeout period.

NoteCS_LOGIN_TIMEOUT applies only to synchronous connections.

You can specify CS_LOGIN_TIMEOUT values on an individual connection basis with ct_con_props.

See “Handling timeout errors” for more information.