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