On 7.10.2010 22:41, Francois PIETTE wrote:
Is it possible to encrypt the connection between the client and server?

ICS support the SSL protocol. It has a strong encryption.
SSL is what is used in protocols sur as HTTPS, FTPS and many others (also supported by ICS).

if yes, I would appreciated any help you could provide.

See the demos in the SslInternet folder (ICS-V7).

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
Hi Francois,
I have actually tryed the demos but I got too many errors when try to run them.
Any ideas why?

[DCC Error] OverbyteIcsSimpleSslServer1.pas(88): E2003 Undeclared identifier: 'TSslWSocketClient'
[DCC Error] OverbyteIcsSimpleSslServer1.pas(88): E2021 Class type required
[DCC Error] OverbyteIcsSimpleSslServer1.pas(97): E2003 Undeclared identifier: 'TSslWSocketServer' [DCC Error] OverbyteIcsSimpleSslServer1.pas(97): E2217 Published field 'SslWSocketServer1' not a class or interface type [DCC Error] OverbyteIcsSimpleSslServer1.pas(116): E2003 Undeclared identifier: 'TSslContext' [DCC Error] OverbyteIcsSimpleSslServer1.pas(116): E2217 Published field 'SslContext1' not a class or interface type [DCC Error] OverbyteIcsSimpleSslServer1.pas(127): E2003 Undeclared identifier: 'TX509Base' [DCC Error] OverbyteIcsSimpleSslServer1.pas(294): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(295): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(295): E2029 '(' expected but ':=' found
[DCC Error] OverbyteIcsSimpleSslServer1.pas(295): E2036 Variable required
[DCC Error] OverbyteIcsSimpleSslServer1.pas(296): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(297): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(298): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(299): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(300): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(301): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(302): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(303): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(304): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(305): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(306): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(317): E2010 Incompatible types: 'TTcpSrvClient' and 'TWSocketClient' [DCC Error] OverbyteIcsSimpleSslServer1.pas(319): E2003 Undeclared identifier: 'PeerAddr' [DCC Error] OverbyteIcsSimpleSslServer1.pas(319): E2003 Undeclared identifier: 'PeerPort' [DCC Error] OverbyteIcsSimpleSslServer1.pas(320): E2010 Incompatible types: 'string' and 'Integer'
[DCC Error] OverbyteIcsSimpleSslServer1.pas(320): E2008 Incompatible types
[DCC Error] OverbyteIcsSimpleSslServer1.pas(324): E2003 Undeclared identifier: 'LineMode' [DCC Error] OverbyteIcsSimpleSslServer1.pas(325): E2003 Undeclared identifier: 'LineEdit' [DCC Error] OverbyteIcsSimpleSslServer1.pas(326): E2003 Undeclared identifier: 'LineLimit' [DCC Error] OverbyteIcsSimpleSslServer1.pas(327): E2003 Undeclared identifier: 'OnDataAvailable' [DCC Error] OverbyteIcsSimpleSslServer1.pas(327): E2035 Not enough actual parameters [DCC Error] OverbyteIcsSimpleSslServer1.pas(328): E2003 Undeclared identifier: 'OnLineLimitExceeded' [DCC Error] OverbyteIcsSimpleSslServer1.pas(328): E2035 Not enough actual parameters [DCC Error] OverbyteIcsSimpleSslServer1.pas(329): E2003 Undeclared identifier: 'OnBgException' [DCC Error] OverbyteIcsSimpleSslServer1.pas(329): E2035 Not enough actual parameters [DCC Error] OverbyteIcsSimpleSslServer1.pas(330): E2003 Undeclared identifier: 'OnSslVerifyPeer' [DCC Error] OverbyteIcsSimpleSslServer1.pas(330): E2035 Not enough actual parameters [DCC Error] OverbyteIcsSimpleSslServer1.pas(331): E2003 Undeclared identifier: 'ConnectTime' [DCC Error] OverbyteIcsSimpleSslServer1.pas(354): E2003 Undeclared identifier: 'ReceiveStr' [DCC Error] OverbyteIcsSimpleSslServer1.pas(359): E2003 Undeclared identifier: 'GetPeerAddr' [DCC Error] OverbyteIcsSimpleSslServer1.pas(372): E2003 Undeclared identifier: 'GetPeerAddr' [DCC Error] OverbyteIcsSimpleSslServer1.pas(382): E2003 Undeclared identifier: 'State' [DCC Error] OverbyteIcsSimpleSslServer1.pas(383): E2003 Undeclared identifier: 'SendStr' [DCC Error] OverbyteIcsSimpleSslServer1.pas(390): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(413): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(417): E2029 'THEN' expected but identifier 'VerifyResult' found [DCC Error] OverbyteIcsSimpleSslServer1.pas(425): E2003 Undeclared identifier: 'TSslWSocket' [DCC Error] OverbyteIcsSimpleSslServer1.pas(425): E2015 Operator not applicable to this operand type [DCC Error] OverbyteIcsSimpleSslServer1.pas(431): E2029 ')' expected but identifier 'VerifyResult' found [DCC Error] OverbyteIcsSimpleSslServer1.pas(431): E2029 'END' expected but ')' found [DCC Error] OverbyteIcsSimpleSslServer1.pas(433): E2029 '.' expected but ';' found [DCC Error] OverbyteIcsSimpleSslServer.dpr(5): F2063 Could not compile used unit 'OverbyteIcsSimpleSslServer1.pas'

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

Reply via email to