Ldap ux with c++ on HPUX -


i have c++ code integrating ldap-ux hp, far have manage simple poc running. production use must able configure network related things timeouts,etc , seemed in blind on matter. here small piece of code , @ first glance don't see way of setting timeout or other options

ldap *ld = ldap_init(host.c_str(), port) ;       if( ld == null)     {         //std::cerr << "error in initializing ldap against server " << host << ":" << port << std::endl;         //throw verify_exception("error ... see std::cerr.");         return as::ldap::error_ldap_init;     } 

is there reference can use ?


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -