Let me try to rephrase the question: you want both SSL and plaintext on the same port.When SSL_connect is tried to a port where TCP process is listening, how SSL client comes to know that the port it is trying is not TLS process but a TCP process.
There is no general solution. Heuristics will break.
If you cannot afford to have two separate ports, then you should consider adding a new command that tells the plaintext server to switch to SSL.
/r$
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
