Hello!

I don't check the property FSocket.LastError.
I only call FSocket.SSLAcceptConnection
within my code which itself raises the exception.


Viele Grüsse
Stefan Meisner

www.delphi-online.at
Delphi Remoting Components
Delphi Memory Profiler
  ----- Original Message ----- 
  From: Alejandro Casagrande 
  To: Ararat Synapse 
  Sent: Thursday, June 28, 2007 1:14 PM
  Subject: Re: [Synalist] Synapse and OpenSSL


  Dear Stefan Meisner, in order to use that plug in you don't have to check the 
property FSocket.lasterror, instead when you are using SSL try to use 
FSocket.SSL.lasterror

  A little example

      server.SSLAcceptConnection;
      if server.SSL.LastError<>0 then
             exit;

     ClientSocket:=server.Accept;
     if server.LastError=0 then
     begin
             //create a TTCPBlockSocket to serve the incomming connection
            clientSocket:=TTCPBlockSocket.Create;
            clientSocket.Socket:=aSocket;
            clientSocket.SSLAcceptConnection;
            ///and here you can start the communication
             .....
      end;   
   
  Regards
  Alejandro Casagrande


  2007/6/27, Stefan Meisner <[EMAIL PROTECTED]>: 
    Hello!

    I am trying to use Synapse with OpenSSL 0.9.8d. I have assigned the 
    appropriate PluginClass TSSLOpenSSL. Within the server I have added 
    FSocket.SSLAcceptConnection. This does raise eror 10091 "Network subsystem 
    unusable".
    How can I solve this?

    Viele Grüsse
    Stefan Meisner

    www.delphi-online.at
    Delphi Remoting Components
    Delphi Memory Profiler

    ------------------------------------------------------------------------- 
    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 






------------------------------------------------------------------------------


  -------------------------------------------------------------------------
  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
-------------------------------------------------------------------------
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