Dirk Neuwinger wrote:
>
> I'm writing an application which uses the BIO stuff, because
> i need non-blocking support. I knew there are serveral comments
> on that topic, but i have problems to get a fd out of the bio
> structure.(i need it for select()) The macro BIO_get_fd returns 0,
> even if the TCP/IP connection is established and BIO_do_handshake()
> returns >0.
As I already wrote you in private mail some days ago: You can't get
a file descriptor out of a ssl-bio. The reason ist to be found in
file ssl/bio_ssl.c and function ssl_ctrl().
The cmd BIO_C_GET_FD has no defined action. That causes the function
to return the default value of 0.
--
read you later - Holger Reif
------------------------------------ Signaturprojekt Deutsche Einheit
TU Ilmenau - Informatik - Telematik (Verdamp lang her)
[EMAIL PROTECTED] Alt wie ein Baum werden, um ueber
Remus.PrakInf.TU-Ilmenau.DE/Reif/ alle 7 Bruecken gehen zu koennen
+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/ |
+-------------------------------------------------------------------------+