> Mark Williams wrote: > > > I can think of one. In the near future I will need to add > SSL support > > to a > > legacy application which uses two threads to read/write from/to a > > socket. > > If SSL supported this it would make my life much easier. As the > > situation > > stands I am not sure how to tackle this project. > > There are two obvious, simple ways: > > 1) Have another application that does the SSL work, you can even use > existing ssl proxies. Then you don't have to change the IO in > your pump.
The client wants the whole thing contained in one library so I don't think this one is an option. > 2) Let the two threads read and write to your own two > independent queues and > service the application side of the SSL connection with your > own code to and from the read and write queues. Won't I still need to combine the reading and writing to the SSL object into a single thread for this? This is the bit I am having difficulty visualising. Are there any samples around that do this? Mark. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org