tibems_SetConnectAttemptTimeout

Function

Purpose

Modify the connection timeout.

C Declaration

tibems_status tibems_SetConnectAttemptTimeout(
    tibems_int timeout);

COBOL Call

CALL "tibems_SetConnectAttemptTimeout"
 USING BY VALUE timeout,
       RETURNING tibems-status
END-CALL.

Remarks

This setting governs all client tibemsConnection objects. It determines the maximum time (in milliseconds) the client allows to establish a connection to the server.

Parameters

Parameter Description
timeout Set the connect attempt timeout to this time (in milliseconds). Zero is a special value, which specifies no timeout.

The default value is 0.