Hi I'm about to develop a server application which should be able to handle ALOT of connections, say 20k-30k Any suggestions as to how I should tackle this problem? I am really new with OpenSSL and haven't really grasped it all yet. I've been searching the net for a couple of days now just to find some threading-examples concerning OpenSSL, or the usage of select();
I was thinking along the lines of spawning up a couple of threads and have a maximum number of Connections per-thread using select to indicate when a packet has come into the system. What do you guys think of that? would that be possible with OpenSSL? Also I have a problem finding information on how to perform a non-blocking connect-negotiation. I'm not sure how the SSL_connect() function is supposed to work, I guess the only way to go about this is using non-blocking sockets as the SSL_connect() seems to indirectly return WANTS_READ or WANTS_WRITE thus letting me out to the main select again (correct?) but then comes to the concern of non-blocking sockets, I've heard they're really stressfull for the system, is that true , and if so, what would be a sane approach to this problem? Thanks in advance /Tommy Wallberg ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]