[Date Prev][Date Next] [Chronological] [Thread] [Top]

Broken Pipe Error



Hi,
    I installed OpenLDAP-1.2.9 stable version . I  written one Client
program.
  In which i am calling
    ldap_open( HostName,Port);
   ldap_simple_bind(Ldaprecord,NULL,NULL);
  then i am waiting for the result by issuing call
ldap_result(LdapRec,msgid,0,0,&Result Record);
  Some times i am getting the response sometimes broken pipe error
coming.
 can any one give me a solution to rectify that problem?
  In broken pipe case the server is closing the connection before we are
issuing ldap_unbind.
Regards&Thanks
Ch.R.K.Prasad.