1998-10-25 09:41:42 +08:00
|
|
|
.TH CLDAP_SETRETRYINFO 3 "22 September 1998" "OpenLDAP LDVERSION"
|
1999-09-12 12:41:47 +08:00
|
|
|
.\" $OpenLDAP$
|
2000-05-13 10:47:56 +08:00
|
|
|
.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
|
1999-09-12 12:41:47 +08:00
|
|
|
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
1998-08-09 08:43:13 +08:00
|
|
|
.SH NAME
|
|
|
|
cldap_setretryinfo \- Set Connectionless LDAP Request Retransmission Parameters
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.nf
|
|
|
|
.ft B
|
|
|
|
#include <ldap.h>
|
|
|
|
.LP
|
|
|
|
.ft B
|
|
|
|
void cldap_setretryinfo(ld, tries, timeout)
|
|
|
|
.ft
|
|
|
|
LDAP *ld;
|
|
|
|
int tries;
|
|
|
|
int timeout;
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.LP
|
|
|
|
The
|
|
|
|
.B cldap_setretryinfo()
|
|
|
|
routine is used to set the CLDAP
|
|
|
|
request retransmission behavior for future
|
|
|
|
.BR cldap_search_s (3)
|
|
|
|
calls.
|
|
|
|
.LP
|
|
|
|
.B cldap_setretryinfo()
|
|
|
|
takes \fIld\fP, the LDAP pointer returned from a
|
|
|
|
previous call to
|
|
|
|
.BR cldap_open (3),
|
|
|
|
\fItries\fP, the maximum number of
|
|
|
|
times to send a request, and \fItimeout\fP, the initial time, in
|
|
|
|
seconds, to wait before re-sending a request. The default values (set by
|
|
|
|
.BR cldap_open (3))
|
|
|
|
are 4 tries and 3 seconds between tries. See
|
|
|
|
.BR cldap_search_s (3)
|
|
|
|
for a complete description of the retransmission
|
|
|
|
algorithm used.
|
|
|
|
.LP
|
|
|
|
.SH SEE ALSO
|
|
|
|
.BR ldap (3),
|
|
|
|
.BR cldap_open (3),
|
|
|
|
.BR cldap_search_s (3),
|
|
|
|
.BR cldap_close (3)
|
1998-10-25 09:41:42 +08:00
|
|
|
.SH ACKNOWLEDGEMENTS
|
|
|
|
.B OpenLDAP
|
|
|
|
is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
|
|
|
|
.B OpenLDAP
|
|
|
|
is derived from University of Michigan LDAP 3.3 Release.
|