Is Delphi TClientSocket (still) deprecated?

后端 未结 3 650
情书的邮戳
情书的邮戳 2021-01-24 01:30

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

TClientSocket is deprecate

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-24 02:16

    Well, it depends on what you call deprecated. If "no longer included in any of the source folders" counts as being deprecated, then yes, it is still deprecated (D2009).

    Update

    The source for TClientSocket and TServerSocket is actually present. @mjn and @Eugene pointed me towards it. Just goes to show once again that not finding something with Windows search doesn't mean it isn't there. It may just lurk in a file with an extension that Windows considers "un-search-able" because a search filter has not been defined for it... (Thought I had it set up for .pas files, but turns out that was on another of my machines).

    But I guess that doesn't detract from it still being deprecated...

提交回复
热议问题