On Wed, Oct 10, 2001 at 01:22:40PM -0700, Ruby Cruiser wrote:
> Should I use "SSL_set_fd" or SSL_set_bio?? How do we
> know? I have a socket generated from "accept" call,
> which I can feed to both these APIs and they pass. But
> not sure what difference it makes...

SSL_set_fd() connects the SSL object to the socket by automatically
creating the necessary BIO objects. If you have a socket and don't want
anything special, using SSL_set_fd() is the direct way.

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to