Subject: | wishlist: non-blocking Net::LDAP:sync |
When in asynchronous mode, a non-blocking sync is a must in order to be able to flush the revc socket and process the correspondding callbacks without blocking operation and/or affecting outgoing throughput.
The closest and simplest implementation would currently be a call to $ldap->_recvresp(msg) to poll for a response to one specific message ID, or $ldap->_recvresp(-1) to process any pending replies.
Still, the above is not 100% satisfactory since it blocks if there is nothing waiting.
V.