Counterpart of .NETs NetworkStream / SslStream in

2019-09-11 02:44发布

问题:

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?

回答1:

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.



回答2:

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



回答3:

See OpenSSL with Delphi. It mentions Indy and DelphiWebStart.



回答4:

ICS, the Internet Component Suite. It's free.



回答5:

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