RE: how do I determine blocking or nonblocking?

2008-10-20 Thread David Schwartz
> David Schwartz wrote: > > Which is pretty much the same as every other operation. If you > > call 'send' > > or 'write' on a blocking TCP socket, and you get a zero return, > > does that > > mean the data has been sent? No. It means the data is queued > > and the send is > > in progress. If you

Re: how do I determine blocking or nonblocking?

2008-10-20 Thread Darryl Miles
David Schwartz wrote: Which is pretty much the same as every other operation. If you call 'send' or 'write' on a blocking TCP socket, and you get a zero return, does that mean the data has been sent? No. It means the data is queued and the send is in progress. If you call 'shutdown' on a blocking

RE: how do I determine blocking or nonblocking?

2008-10-16 Thread David Schwartz
> Documentation tells me that the SSL pointer should inherit > the blocking property from the socket passed to SSL_set_fd. Right. > However, when I call SSL_shutdown with the SSL handle, > the return code I get is not an error or a shutdown completed > but a shutdown in progress (return code= 0)