Hi, I'm developing an application that streams audio 2 ways over an SSL connection. Initially my program consisted of a small loop reading from the audio-device and writing to the SSL stream and readig from the SSL-stream and writing to the audio-stream. If I'm just only reading from the SSL-stream, the audio goes fine. But if I try to do both (also writing to the SSL stream), the sound starts to stutter (that's the correct word? I mean small delays) because of large delay in SSL. I tried setting the sockets to non-blocking, but that didn't help. I also tried if I could start 2 threads doing all the work, but it seems openSSL doesn't support that. So now my question is: does anyone have a suggestion how I could accomplish what I'm doing here? Is there a thread-safe version (which allows reading and writing at the same time) of the OpenSSL library?
Thank you. Folkert van Heusden www.vanheusden.com/Linux ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]