man pages section 3: Networking Library Functions

Exit Print View

Updated: July 2014
 
 

cldap_setretryinfo(3LDAP)

Name

cldap_setretryinfo - set connectionless LDAP request retransmission parameters

Synopsis

cc[ flag... ] file... -lldap[ library... ]
#include <lber.h>
#include <ldap.h>

void cldap_setretryinfo(LDAP *ld, int tries, int timeout);

Parameters

ld

LDAP pointer returned from a previous call to cldap_open(3LDAP).

tries

Maximum number of times to send a request.

timeout

Initial time, in seconds, to wait before re-sending a request.

Description

The cldap_setretryinfo() function is used to set the CLDAP request retransmission behavior for future cldap_search_s(3LDAP) calls. The default values (set by cldap_open(3LDAP)) are 4 tries and 3 seconds between tries. See cldap_search_s(3LDAP) for a complete description of the retransmission algorithm used.

Attributes

See attributes(5) for a description of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
Interface Stability
Committed

See also

ldap(3LDAP), cldap_open(3LDAP), cldap_search_s(3LDAP), cldap_close(3LDAP), attributes(5)