印地 9 和印地 10 有什么区别?

发布于 2024-07-17 14:04:17 字数 194 浏览 4 评论 0原文

我负责将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

绿萝 2024-07-24 14:04:17

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.

老子叫无熙 2024-07-24 14:04:17

查看 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

你又不是我 2024-07-24 14:04:17

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.

南街女流氓 2024-07-24 14:04:17

一些细节:

  • Indy10 据说已经在 D2005 中了,尽管版本 D2005 和 D2006 允许选择安装哪一个。
  • ....这并不重要,无论如何,始终安装最新和最好的以获得最新的修复程序。
  • Indy10内部比较好,但是因为他们把它分成了几个模块,所以初学者在手动编译它时经常会遇到问题。 大致上,Indy 开发的工作方式是强加给用户的,回想起来我认为这是不必要的,因为在实践中所有包都必须作为一个整体进行更新。
  • Indy10 是便携式的。 indy9 Kylix 支持只不过是一个 hack。
  • 两者都适用于 FPC/Lazarus,但 Indy9 只能在 win32 上运行。 Indy10 还支持 Unix、OS X、win64 和 wince。 在 lazarus 上,Indy10 端口通常更好。
  • 上次我用它做了重要的工作时,Indy10 的例子不如 indy9 的例子。
  • Indy10 陷入了 .NET 泥沼,并且比 indy9 的零拷贝明显更少。 在 Indy10 的生命周期中,这种情况变得更糟。
  • Indy10 的一些最初目标(例如对非常高连接数的光纤支持)并未实现。 不过,随着(平均)可用内存的巨大增加,对光纤的需求无论如何都需要重新评估,而且我也不知道微软现在如何看待光纤。

Some details:

  • Indy10 is afaik already in D2005, though versions D2005 and D2006 allow to select which one to install.
  • .... which doesn't matter, in any case always install the latest and greatest to get the newest fixes.
  • Indy10 is better internally, but because they split it in several modules, beginners often have problems manually compiling it. Roughly the way of working of the Indy devels is thrust on the users, something that I think was unnecessary in retrospect since all packages must be updated as a whole in practice.
  • Indy10 is portable. The indy9 Kylix support was not much more than an hack.
  • Both work with FPC/Lazarus, but Indy9 only on win32. Indy10 also on Unix, OS X, win64 and wince. On lazarus, the Indy10 port is generally better.
  • Last time I did significant work with it, the Indy10 examples were inferior to the indy9 ones.
  • Indy10 got mired in the .NET morass, and is significantly less zero copy than indy9. This became worse over Indy10's lifetime.
  • Some of the original goals of Indy10 (like fiber support for very high connection counts) were not realized. The need for fibers would need to be reevaluated anyway with the gigantic increase in (average) available memory though, and I also don't know how Microsoft sees fibers nowadays.
逆流 2024-07-24 14:04:17

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.

戴着白色围巾的女孩 2024-07-24 14:04:17

BorCon 2004 编程专题 包含 Chad Hower 的文章,升级到 Indy 10

摘要:本次会议介绍了对 Indy 10 所做的更改以及如何
快速移植现有代码。 它还涵盖了 Indy 10 的优点
以及为什么你应该移植你的代码。 而性能和其他
展示了演示,本次会议是一个实用的概述和
不关注演示代码。

内容:

  • 升级到 Indy 10
  • Indy 10 状态
  • 安装并发版本
  • 兼容性
  • 迁移
  • 主要更改和添加

The BorCon 2004 Programming Tracks included an article by Chad Hower, Upgrading to Indy 10.

Abstract: This session covers the changes made to Indy 10 and how to
quickly port existing code. It also covers the advantages of Indy 10
and why you should port your code. While performance and other
demonstrations are shown, this session is a practical overview and
does not focus on demo code.

Content:

  • Upgrading to Indy 10
  • Indy 10 Status
  • Installing Concurrent Versions
  • Compatibility
  • Migration
  • Major Changes and Additions
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文