CLDAP_SETRETRYINFO(3LDAP) LDAP Library Functions CLDAP_SETRETRYINFO(3LDAP)
cldap_setretryinfo - set connectionless LDAP request retransmission
parameters
cc[ flag... ] file... -lldap[ library... ]
#include <lber.h>
#include <ldap.h>
void cldap_setretryinfo(LDAP *ld, int tries, int timeout);
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.
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.
See attributes(7) for a description of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Interface Stability | Evolving |
+--------------------+-----------------+
cldap_close(3LDAP), cldap_open(3LDAP), cldap_search_s(3LDAP),
ldap(3LDAP), attributes(7)
January 27, 2002 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(7) for a description of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Interface Stability | Evolving |
+--------------------+-----------------+
SEE ALSO
cldap_close(3LDAP), cldap_open(3LDAP), cldap_search_s(3LDAP),
ldap(3LDAP), attributes(7)
January 27, 2002 CLDAP_SETRETRYINFO(3LDAP)