印地 9 和印地 10 有什么区别?
我负责将 Delphi 2007 应用程序移植到 C#,并且完全没有 Delphi 经验。 我想知道 Delphi 包含的两个 Indy 版本 - Indy 9 和 Indy 10 之间有什么区别。此时我什至不知道 Indy 是什么。 有人可以帮我吗? 它们只是 Delphi 库的不同版本吗? 使用其中一种或另一种会有什么影响?
谢谢!
I am responsible for porting a Delphi 2007 application to C# and have absolutely no experience with Delphi. I am wondering what is the difference between the two Indy versions Delphi includes - Indy 9 and Indy 10. At this point I don't even know what an Indy is. Can someone help me out? Are they just different versions of the Delphi Library? What are the implications of using one or the other?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
Indy 是 Internet Direct 的缩写,它是一个用于网络的开源库。 它最常用于执行与互联网相关的操作,例如发送电子邮件等。
如果您从使用 Indy 8 或 9 的旧版(例如 Delphi 7)应用程序进行移植,您会发现在 Delphi 2007 中使用 Indy 9 会更容易移植。 如果您不在乎,请使用 Indy 10,因为它对库进行了许多重大改进,并且还有一些重大的架构更改。
Indy is short for Internet Direct, an open-source library for doing networking. It's most commonly used for doing internet-related things, like sending emails and whatnot.
If you're porting from a legacy (say, Delphi 7) application that uses Indy 8 or 9, you'll find using Indy 9 in Delphi 2007 will be an easier port. If you don't care, use Indy 10, as it's got many significant improvements to the library, and there are also some big architectural changes.
查看 Indy 10 文档,特别是 Indy.Sockets 版本 10 中的新增功能 和 对象层次结构的更改 部分
http://www.indyproject.org/docsite/html
Look at the Indy 10 documentation, specifically the sections What's new in Indy.Sockets version 10 and Changes to the Object Hierarchy
http://www.indyproject.org/docsite/html
Indy 是一个 winsock 包装器,为网络/互联网编程(ftp、telnet、http 等)提供阻塞套接字行为。Indy
10 是 Indy 9 的更新版本,虽然这些更改可能会改进架构,但它们删除了一些功能并移动周围的事情。 如果您的程序使用了已移动或删除的部分,那么移植到 Indy 10 将会很痛苦。
如果您从 Delphi 迁移到 C#,那么您会发现 Indy 的 C# 版本与 Delphi 版本非常不同。 好吧,至少当我看着它时。
Indy is a winsock wrapper that provides blocking socket behavior for network / internet programming (ftp, telnet, http, etc.)
Indy 10 is a newer version from Indy 9, and while the changes may improve the architecture, they removed some features and move things around. If your program makes use of the parts that were moved or removed then porting to Indy 10 will be painful.
If you are moving from Delphi to C# then you will find the C# version of Indy is VERY different then the Delphi version. Well at least when I looked at it.
一些细节:
Some details:
Indy Delphi 是 Delphi 的一个库(TComponent),代表了 WinSock 的真正威力。它提供了用于调谐、TCP/UDP 连接等的组件。
官方页面是:http://www.indyproject.org
您会在那里找到您需要的一切。
Indy 9 是 Indy 库的旧版本。
Indy 10 于 2008 年与 Delphi 2009 一起发布。Indy 10 中库的整体结构发生了变化。
在我看来,Indy 9 更好。
Indy Delphi is a library(Tcomponent) for Delphi representing the true power of WinSock.It provides components for tunelling,TCP/UDP connections and much more.
The official page is: http://www.indyproject.org
You will find everything you need there.
Indy 9 is an old version of Indy library.
Indy 10 came out in 2008 along with Delphi 2009.The whole structure of the library is changed in Indy 10.
In my opinion,Indy 9 was better.
BorCon 2004 编程专题 包含 Chad Hower 的文章,升级到 Indy 10。
内容:
The BorCon 2004 Programming Tracks included an article by Chad Hower, Upgrading to Indy 10.
Content: