Yes. there is one listener thread, one listener socket and one ssl context per thread = 1. If the user decides to listen on multiple threads, then these are all multiplied of course.
On Sat, Mar 14, 2009 at 8:01 PM, Arno Garrels <[email protected]> wrote: > Fastream Technologies wrote: > > > Ok, could you please also comment on my C++ code posted? Could there > > be an AV somewhere that I didn't see?? > > Concerning your design "one cache instance per thread" I'm a bit confused. > Do you also use one instance of SslContext per thread? > One context => one cache, both ought to be tread-safe, so one instance of > each is IMO enough. > > The event handler code looks OK. > > -- > Arno Garrels > > > > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
