Delphi 有基于 I/O 完成端口的组件吗?
我知道 Indy、ICS,Synapse 和 Clever InetSuite,都不支持 IOCP。那里还有其他东西吗?
编辑: 我找到了iocpclasses,它是用Delphi5编写的。我想总比没有好。
I am aware of Indy, ICS, Synapse and Clever InetSuite, none of which support IOCP. Is there anything else out there?
Edit:
I found iocpclasses , It's written in Delphi5. Better than nothing I suppose.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
检查 http://voipobjects.com/index.php?page=delphi-iocp -库
它已迁移到 iocpclasses.sourceforge.net (我是作者)。
享受吧:)
更新:voipobjects 没有该库的专用页面。
它位于此处 https://bitbucket.org/voipobjects/iocpengine。
更新 2:bitbucket 不再提供 Mercurial,所以我转向了 gitlab。
https://gitlab.com/dmytro.bogovych/iocpengine
Check http://voipobjects.com/index.php?page=delphi-iocp-library
It is migrated iocpclasses.sourceforge.net (i'm an author).
Enjoy :)
Update: voipobjects has not dedicated page for this library.
It lives here https://bitbucket.org/voipobjects/iocpengine.
Update 2: bitbucket doesn't offer Mercurial anymore, so I moved to gitlab.
https://gitlab.com/dmytro.bogovych/iocpengine
Indy 10 对纤程和 IOCP 进行了实验性支持:
来自 印地知识库:
这个是默认没有安装的,我自己也没有使用过,所以不确定它到底有多大用处。我猜你需要从他们的存储库下载最新的 SVN 版本才能使用这个实验性功能。
使用它必须简单明了;您创建一个 IdTcpServer 实例,并使用提供 IOCP 支持的调度程序类来代替默认调度程序。其余的应该被视为所提供的调度程序类的内部工作。
Indy 10 has experimental support for fibers and IOCP:
From Indy knowledge base:
This is not installed by default, and I haven't used it myself, so I am not sure how much usable it is. I guess you need to download the latest SVN revision from their repository to use this experimental feature.
Using it must be straightforward; you create a IdTcpServer instance, and instead of the default scheduler, you use the scheduler class which provides IOCP support. The rest should be considered internal work of the provided scheduler class.
Synopse mORMot 和 SynCrtSock
和
DWScript 的 HttpSys2WebServer
两者都有一个基于 IOCP 的服务器。
Synopse 实际上有两台使用 IOCP 的服务器,一台通过 http.sys,另一台通过套接字。
Synopse mORMot and SynCrtSock
and
DWScript's HttpSys2WebServer
both have an IOCP-based server.
Synopse actually has two servers using IOCP, one via http.sys another via sockets.
不是一个组件,而是一个示例:ISAPIThreadPool 单元中的 TISAPIThreadPool。
Not a component but an example: TISAPIThreadPool in ISAPIThreadPool unit.
查看基于 Windows 完成端口并使用 Windows 套接字扩展的高性能套接字服务器。支持 IPv6。
链接:http://www.torry.net/authorsmore.php?id=7131< /a>
Have a look at High performance socket server based on Windows Completion Port and with using Windows Socket Extensions. IPv6 supported.
Link: http://www.torry.net/authorsmore.php?id=7131
贡献的文件部分中有一个 Synapse 可用的 IOCPPool 示例。
There is an IOCPPool example for Synapse availabile in the contributed files section.
有一个项目基于以前的 iopcclasses 项目。
它声称可以处理数千个并发连接:
There is a project which is based on the former iopcclasses project.
It claims to handle thousands simultaneous connections:
iocp-delphi 作者:Ondrej Kelle,他也是 chakracore-delphi 的作者
iocp-delphi by Ondrej Kelle who is also the author of chakracore-delphi