Hey, all.
I am running into a problem with reading from a connection until a
newline is encountered.
I am unable to get a clear idea just what SSL_peek() is intended to do,
which is probably the cause of my problem.
I need to read from a socket, up to n bytes or until the first instance
of '\n'.
Now, does the SSL_peek() routine actually pull the data off the socket
buffer? If I follow up with SSL_read(), will I get the same data or the
data that follows what SSL_peek() returns?
If it gets the data following what SSL_peek() returns, then what makes
it different than SSL_read()?
If there is detailed info somewhere on this call, feel free to just
point it out to me.
Thank you, and have a great holiday!
Lou
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]