tibems_SetReconnectAttemptCount

Function

Purpose

Modify the reconnection attempts limit.

C Declaration

tibems_status tibems_SetReconnectAttemptCount(
    tibems_int count);

COBOL Call

CALL "tibems_SetReconnectAttemptCount"
 USING BY VALUE count,
       RETURNING tibems-status
END-CALL.

Remarks

This setting governs all client tibemsConnection objects as they attempt to reconnect to the server after a network disconnect.

Parameters

Parameter Description
count Set the reconnect limit to this value.

The default value is 4. The minimum value is 1.