本文介绍了Delphi TClientSocket(still)是否被弃用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在中有关错误报告(套接字连接导致资源泄露时出错),Robert Ehteshamzadeh写道:

In the resolution comments for bug report 12266 ("Error on socket connect causes resource leak"), Robert Ehteshamzadeh wrote

这是为Delphi 6.在后来版本,TClientSocket和TServerSocket默认情况下尚未安装在工具调色板中,但安装说明为。

This was for Delphi 6. In later versions, TClientSocket and TServerSocket have not been installed in the Tool palette by default, but an installation instruction was provided.

自此以后,此状态已更改,因此TClientSocket(和TServerSocket)现在也是Delphi VCL中的第一类成员?我想在一些项目中使用TClientSocket(作为Indy和Synapse之后的另一个TCP / IP库),并且在Embarcadero 。

Has this status changed since then, so that TClientSocket (and TServerSocket too) are now first-class members in the Delphi VCL again? I would like to use TClientSocket (as another TCP/IP library after Indy and Synapse) in some projects and could not find an official status information in the Embarcadero DocWiki.

(弃用类/方法的官方索引将是有用的)。

(An official index of 'deprecated' classes / methods would be useful).

推荐答案

具体回答您的问题:

是的,TClientSocket和TServerSocket仍然不推荐,我不能想象这种情况会改变。

Yes, TClientSocket and TServerSocket are still deprecated, and I can't imagine that this situation will change.

这篇关于Delphi TClientSocket(still)是否被弃用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 06:40
查看更多