Is there a way that I could detect if the LDAP server has closed down the network socket after I've connected and/or binded to the server?
I'm using the Perl POE module and have persistent connection to the LDAP server. If I shutdown the LDAP server, after the I've already done a bind to it, and then restart the LDAP server, the Perl program seems to be in some kind of a undefined state. Looks like the sockets are all messed up, as one might expect. Is there a way I could detect that my file-descriptor of the socket connection to the LDAP server is invalid? I'd like to do this before using it to perform searches, modifications, etc. to the server. -- Frank Koenen <[EMAIL PROTECTED]> Website: http://www.feweb.net
