Title: Few general questions

Is it possible to do gather writes with OpenSSL?  For example, instead of SSL_write(), is there something like SSL_writev()?

When doing SSL_read(), the bytes read have already been unencrypted.  Is there a way to figure out how much data was read before decrypting?  Similarly, is there a way to figure out how much data is written out with SSL_write() after encrypting?  I want to keep track of bytes being transferred over the wire, but the numbers I have now are pre-encryption and post-decryption so it is not an accurate number.

Has anybody used OpenSSL on Windows, but with Windows native Async I/O?  I'm currently using SSL_read() and SSL_write(), so I can't take advantage of true async i/o.  Instead, I've created my own by using my own thread pool and select.  But I'd like to use native async i/o cuz it's much faster.

Thanks,
Ed

Reply via email to