> Krishna M Singh schrieb:

> > Hi
> >
> > This is not an issue. U are using a non-blocking socket and thus u
> > need to have a select call and put this socket on readable list and
> > call SSL_read whenever this sockets becomes readable..
> > Other way round, make ur socket fd non-blocking (ioctl call) and than
> > it will return after the connection is completed..
> >
> > HTH
> > -Krishna
> > FSS, India

> So I have connect the readyRead() signal of the socket.
> But the signal comes after the error:(
> So I have no chance to call SSL_read before the error occurs.

        So call it after. This is not an "error" but an indication, similar to
EWOULDBLOCK. It is telling you that the operation cannot complete without
blocking and you asked it not to block, so it can't complete now.

        DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to