I have long been confused if using the BIO_* way would have obvious advantage over the raw SSL_* calls.
I always use the non-bio as I thought I have more control.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
BIO drives me up the wall but it allows you to transparently put in compression and other filters. You do want compression since it 1) makes cryptanalysis harder, 2) uses less bandwidth and 3) takes less CPU to compress + encrypt than to encrypt the raw data stream.