> Probably something I am doing is just basically wrong.
> 
> So assume this would be the code on the server side:
> 
>   lSocket := TTCPBlockSocket.CreateWithSSL(TSSLOpenSSL);
>   lSocket.RaiseExcept := True;
>   lSocket.Bind('localhost', '6666');
>   lSocket.Listen;
>   lSocket.SSLAcceptConnection;
> 
> and later
>       lSocket := FSocket.Accept;
> and so on as I am doing without SSL (which works perfectly)

Ah, this is really wrong!

Call SSLAcceptConnection on accepted client connection. You must 
first accept standard TCP connection, and then you can upgrade it to 
SSL.

-- 
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to