Connection Timeout

The connection timeout is not configurable.

Linux and Unix Connection Timeout

On Unix platforms, the client performs a connect on the socket. If the socket is busy or unavailable, the client performs a select on the socket with the timeout set to 10 seconds (hardcoded). If the select call returns before the timeout, then the client is able to connect. If not then it fails. This prevents the situation where some Unix operating systems can block for several minutes when Luna Network HSM 7 is unavailable.

Windows Connection Timeout

On Windows platforms, connect is called without select, relying upon the default Windows timeout of approximately 20 seconds.