---
name: "cldap_setretryinfo"
section: "3"
platform: "linux"
package: "libopenldap-dev"
version: "1:1.2.12-1"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/cldap_setretryinfo"
---

# cldap\_setretryinfo(3)

Set Connectionless LDAP Request Retransmission Parameters

## NAME

cldap\_setretryinfo - Set Connectionless LDAP Request Retransmission Parameters

## SYNOPSIS

```
#include <lber.h>
#include <ldap.h>
```

**void cldap\_setretryinfo(ld, tries, timeout)** **LDAP \*ld;** **int tries;** **int timeout;**

## DESCRIPTION

**The** **cldap\_setretryinfo()** **routine is used to set the CLDAP** **request retransmission behavior for future** [**cldap\_search\_s**(3)](/cldap_search_s/3.md) **calls.**

**cldap\_setretryinfo()** **takes** *ld***, the LDAP pointer returned from a** **previous call to** [**cldap\_open**(3)](/cldap_open/3.md), *tries***, the maximum number of** **times to send a request, and** *timeout***, the initial time, in** **seconds, to wait before re-sending a request.  The default values (set by** [**cldap\_open**(3)](/cldap_open/3.md)) **are 4 tries and 3 seconds between tries.  See** [**cldap\_search\_s**(3)](/cldap_search_s/3.md) **for a complete description of the retransmission** **algorithm used.**

## SEE ALSO

[**ldap**(3)](/ldap/3.md), [**cldap\_open**(3)](/cldap_open/3.md), [**cldap\_search\_s**(3)](/cldap_search_s/3.md), [**cldap\_close**(3)](/cldap_close/3.md)

## ACKNOWLEDGEMENTS

**OpenLDAP** **is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).** **OpenLDAP** **is derived from University of Michigan LDAP 3.3 Release.**
