I have some legacy code that uses the ioctl() function on a socket to see how many bytes are ready to be read. I was wounding if this can be done with an openssl socket or if I can uses SSL_get_fd( sslSocket ) and then uses the standard socket ioctl functions.

int numBytesToRead;
funcStatus = ioctl( sockFd, I_NREAD, &numBytesToRead );

In the s_client code I see BIO_socket_ioctl(s,FIONBIO,&l) is this doing the same thing?

Thanks,
Perry
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to