Hello.. I'm new here. I'm from Uruguay and i am looking for some help
With regular sockets i use to read one char from the server
char c;
i = recv(fd,&c, 1,0);
with SSL_read() is the same? Because i cant read. When i write the GET in
the server with the \r\n\r\n at the end nothing append.
som
enssl-users@openssl.orgSubject: Re:
errno=5 in SSL_read( )Gayathri,Thanks for your
message.I could see from your snippet you have used BIO in non blocking
mode. But my application must be in such a way that it must wait to read the
data. Do you have any idea on trying this for blocking
Gayathri,Thanks for your message.I could see from your snippet you have used BIO in non blocking mode. But my application must be in such a way that it must wait to read the data. Do you have any idea on trying this for blocking mode.
thanks,HaridharanOn 4/20/06, Gayathri Sundar <[EMAIL PROTECTED]>
I too faced similar problem when I pumped heavy data via smart
bits..
this piece of code worked for me..btw the underlying bio in non
blocking..
do {
ERR_clear_error(); nbytesread =
SSL_read(pSSLObject,pBuffer,BufSize); if(nbytesread > 0
) { totalbytesread
+= nbytes