# tibems_SetConnectAttemptDelay

Function

## Purpose

Modify the connection delay.

## C Declaration

    tibems_status tibems_SetConnectAttemptDelay(
        tibems_int delay);

## COBOL Call

    CALL "tibems_SetConnectAttemptDelay"
     USING BY VALUE delay,
           RETURNING tibems-status
    END-CALL.

## Remarks

This setting governs all client `tibemsConnection` objects. It determines the delay time between successive attempt to establish a connection to the server. Its value is the time (in milliseconds) between connection attempts.

## Parameters

Parameter | Description
--- | ---
`delay` | Set the connect attempt delay to this time (in milliseconds). The default value is 500. The minimum value is 250.

## See Also

`tibems_GetConnectAttemptDelay`

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

Copyright © Cloud Software Group, Inc. All rights reserved.