Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
LDAP Library Functionscldap_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 TYPEATTRIBUTE VALUE
AvailabilitySUNWcsl (32-bit)
 SUNWcslx (64-bit)
Interface StabilityEvolving

SEE ALSO

 

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


SunOS 5.9Go To TopLast Changed 27 Jan 2002

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.