views:

373

answers:

5

I have written a secure TCP server in .NET. This was basically as simple as creating a TcpListener instance and wrapping the connected client's NetworkStreams with SslStreams.

Now I need to access this TCP server with Delphi 7 (alternatively: Delphi 2007).

I haven't found anything in the help, and a Google search shows up lots of complex commercial packages. Is there a simpler solution, or something integrated in Delphi I have overlooked?

If not, are there any simple free or commercial packages I could use?

+3  A: 

Indy. It's free. A version of it even came with Delphi 7, although I recommend you go download a more recent version. (The Web page I linked calls it Indy.Sockets to differentiate it from some of the other projects Indy has branched out into.)

Rob Kennedy
+1  A: 

ICS, the Internet Component Suite. It's free. (The link seems broken at the moment. Not sure why.)

Rob Kennedy
+1  A: 

See OpenSSL with Delphi. It mentions Indy and DelphiWebStart.

eed3si9n
+2  A: 

You can also use Synapse, which is also a free solution which is easy to use. It differs from Indy in that it doesn't use components, but rather simple blocking functions. For the SSL support, Synapse supports the use of OpenSSL via a simple to use wrapper.

skamradt
Great. Exactly what I've looked for :-)
Stefan Schultze
A: 

None of Indy / ICS / Synapse have built-in SSL. They plug third-party modules, such as OpenSSL or SecureBlackbox

Eugene Mayevski 'EldoS Corp