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.

See Also

tibems_GetConnectAttemptTimeout

Set Connection Attempts, Timeout and Delay Parameters in the TIBCO Enterprise Message Service User’s Guide