Krishna M Singh schrieb: > Hi > > In non-blocking mode, for client we call > SSL_connect > > In case SSL_connect returns -1 with SSL_ERROR_WANT_READ u need to wait > in Select and once the sock fd is readable, u again need to all > SSL_connect till the SSL_connect returns success or some other error > code (except read or write wait).. > > So we are calling SSL_Connect 2-3 times in Non blocking mode... > HTH > Krishna Ok when I try 40 times then it will work. But after connected I can't receive any data. When the Qt signal readyRead() is emitted I call SSL_read. This will give the SSL_ERROR_WANT_READ again. But the data that Qt tell me that I can red will grow form try to try. Must I call some other functions?
smime.p7s
Description: S/MIME Cryptographic Signature