On 25/2/04 3:47 pm, Claude <[EMAIL PROTECTED]> wrote: > Hello, > > I am not sure if this is a RTFM case... Here is my question, as I > could not find the answer in the pages I read: > > Does it make sense to try reading the server's answer immediately > _after_ binding, before any search is done? > > I'd like to test binding success for different users without having to > run any other operation. > > Am I doing it wrong as I could not find a way to do that?
You need to be slightly careful issuing multiple binds. There's some wording somewhere in the RFCs which says that servers have to abandon all outstanding operations on a connection when they receive new binds. You should be able to issue searches etc immediately after sending a bind without waiting for a bind result. MS Outlook does this, for instance. If you're going to issue multiple binds then you should probably do each bind synchronously, because of that abandoning rule. Cheers, Chris
