as Neo Liu has pointed out, if you try to use memory bio pair for communcation, then its ur responsibility to read and write every byte out the fd using tcp_send and recv() calls, as openssl would only read and write into the bio. This approach is very very tedious and not sure if thats the only way to solve ur problem.
thanks --Gayathri On Sun, May 22, 2011 at 9:01 PM, Neo Liu <diablo...@gmail.com> wrote: > BIO pair is non-blocking BIO, so you need to call SSL_accept() or > SSL_do_handshake() for server times. > The example code looks like follows: > > BIO_write(ebio, ...) > SSL_accept(ssl) > BIO_read(ebio, ...) > > you can use BIO_pending() and BIO_wpending() to watch the buffer status of > the BIO pairs. > > > On Mon, May 23, 2011 at 9:18 AM, G S <stokest...@gmail.com> wrote: > >> Ah, yes, I realized later that there wasn't any communication info in >> there. I only use it for encryption. >> >> Good luck! >> > >