]> git.sur5r.net Git - openldap/blob - doc/man/man3/cldap_setretryinfo.3
d1bb5c6736b6d33dd894bbb0b7e4495c2f07f03b
[openldap] / doc / man / man3 / cldap_setretryinfo.3
1 .TH CLDAP_SETRETRYINFO 3 "22 September 1998" "OpenLDAP LDVERSION"
2 .\" $OpenLDAP$
3 .\" Copyright 1998-1999 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
5 .SH NAME
6 cldap_setretryinfo \- Set Connectionless LDAP Request Retransmission Parameters
7 .SH SYNOPSIS
8 .nf
9 .ft B
10 #include <lber.h>
11 #include <ldap.h>
12 .LP
13 .ft B
14 void cldap_setretryinfo(ld, tries, timeout)
15 .ft
16 LDAP *ld;
17 int tries;
18 int timeout;
19 .SH DESCRIPTION
20 .LP
21 The
22 .B cldap_setretryinfo()
23 routine is used to set the CLDAP
24 request retransmission behavior for future
25 .BR cldap_search_s (3)
26 calls.
27 .LP
28 .B cldap_setretryinfo()
29 takes \fIld\fP, the LDAP pointer returned from a
30 previous call to
31 .BR cldap_open (3),
32 \fItries\fP, the maximum number of
33 times to send a request, and \fItimeout\fP, the initial time, in
34 seconds, to wait before re-sending a request.  The default values (set by
35 .BR cldap_open (3))
36 are 4 tries and 3 seconds between tries.  See
37 .BR cldap_search_s (3)
38 for a complete description of the retransmission
39 algorithm used.
40 .LP
41 .SH SEE ALSO
42 .BR ldap (3),
43 .BR cldap_open (3),
44 .BR cldap_search_s (3),
45 .BR cldap_close (3)
46 .SH ACKNOWLEDGEMENTS
47 .B      OpenLDAP
48 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
49 .B      OpenLDAP
50 is derived from University of Michigan LDAP 3.3 Release.