> > do this?
>In the docs there is a manual page on BIO_new_bio_pair(), at least in the
>latest snapshot or on www.openssl.org.
>The Postfix/TLS patchkit actually using it can be retrieve via my
>homepage.


I'm looking at the docs now.  I'm not sure if I need a bio pair
(probably cuz I don't really understand them), but it looks like
maybe I can just call BIO_new() with my own BIO_METHOD structure
filled in with pointers to my own replacement functions, since my
goal is simply to do all the socket IO myself?  I replace bwrite()
and bread() (brot :) with my own?  Or are there a lot of issues
that make this more complicated than it seems?

Another option looks like using something like BIO_new_socket() and
then call BIO_set_callback()...  although the docs are not clear
about whether my function *replaces* the regular method call or
is just called in addition, for debugging as the docs suggest.

Thanks,

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

Reply via email to