Counterpart of .NETs NetworkStream / SslStream in Delphi 7 [closed]

馋奶兔 提交于 2019-12-13 03:26:27

问题


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.



来源:https://stackoverflow.com/questions/301246/counterpart-of-nets-networkstream-sslstream-in-delphi-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!