> -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Friday, September 11, 2009 5:37 PM > To: Xu, Qiang (FXSGSC) > Cc: [email protected] > Subject: Re: timeout on ldap_simple_bind_s() > > > i'm sure i understand how are you trying to simulate network > down situation pointing your client to a different server/host. is the > 13.198.98.16 host down ? if it is up and running check if it > has the port you are connecting to [ eg 389 ] open.
Yes, 13.198.98.16 (Windows XP) is up and running. But how to check whether the port 389 is open? Any command to do this in Windows XP? > async bind has two stages where it can block. the first one when > connect() is in progress and the second one when its writing > the bind request itself to that connection. So, are you implying that if the server's port 389 is not open, the async bind would also block? Very probably, port 389 in 13.198.98.16 is closed, so what situation does the code fall into, in this case? And, is there a way to unblock it? Thanks, Xu Qiang _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
