文件名称:TestScktIocp
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Dephi] [Pascal] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 661kb
- 下载次数:
- 0次
- 提 供 者:
- cm***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
与ScktComp兼容的IOCP服务端组件
参考了IOCPComp组件和ScktComp组件,可以直接替换ScktComp的TServerSocket
其中的事件方法大致相同,同于本身的IOCP特性,不再提供原TServerSocket的线程阻塞选项.核心文件(ScktIocp.pas)
测试时先导入注册表文件,修改连接数,在XP下测试可连接3万个连接.
用FastMM4测试,没有发现内存泄漏,应用大规模服务还有待测试.
如发现有错误之处请更正后通知本人.-ScktComp compatible with the IOCP server components IOCPComp reference ScktComp components and components, can directly replace the ScktComp events which TServerSocket methodology is generally the same, with the IOCP on its properties, no longer blocking the original thread TServerSocket options . the core document (ScktIocp.pas) test registry file to import, modify connections in XP to connect to test the 30,000 connections. FastMM4 test used, no memory leaks, application of large-scale services have yet to be tested. If there is error, please notify me corrected.
参考了IOCPComp组件和ScktComp组件,可以直接替换ScktComp的TServerSocket
其中的事件方法大致相同,同于本身的IOCP特性,不再提供原TServerSocket的线程阻塞选项.核心文件(ScktIocp.pas)
测试时先导入注册表文件,修改连接数,在XP下测试可连接3万个连接.
用FastMM4测试,没有发现内存泄漏,应用大规模服务还有待测试.
如发现有错误之处请更正后通知本人.-ScktComp compatible with the IOCP server components IOCPComp reference ScktComp components and components, can directly replace the ScktComp events which TServerSocket methodology is generally the same, with the IOCP on its properties, no longer blocking the original thread TServerSocket options . the core document (ScktIocp.pas) test registry file to import, modify connections in XP to connect to test the 30,000 connections. FastMM4 test used, no memory leaks, application of large-scale services have yet to be tested. If there is error, please notify me corrected.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TestScktIocp
............\BorlndMM.dll
............\IOCP
............\....\IOCPComp.dcu
............\....\IOCPComp.pas
............\....\ScktIocp.dcu
............\....\ScktIocp.pas
............\....\UHashTables.dcu
............\....\UHashTables.pas
............\....\WinSock2.dcu
............\....\WinSock2.pas
............\....\ws2tcpip.inc
............\....\wsipx.inc
............\....\wsnetbs.inc
............\....\wsnwlink.inc
............\KeepAliveTime.reg
............\MaxUserPort.reg
............\Project1.exe
............\ProjectGroup1.bdsgroup
............\TestClient.bdsproj
............\TestClient.dpr
............\TestClient.exe
............\TestClient.identcache
............\TestClient.res
............\TestServer.bdsproj
............\TestServer.cfg
............\TestServer.dpr
............\TestServer.exe
............\TestServer.identcache
............\TestServer.res
............\uClient.dcu
............\uClient.dfm
............\uClient.pas
............\uServer.dcu
............\uServer.dfm
............\uServer.pas
............\说明.txt
............\BorlndMM.dll
............\IOCP
............\....\IOCPComp.dcu
............\....\IOCPComp.pas
............\....\ScktIocp.dcu
............\....\ScktIocp.pas
............\....\UHashTables.dcu
............\....\UHashTables.pas
............\....\WinSock2.dcu
............\....\WinSock2.pas
............\....\ws2tcpip.inc
............\....\wsipx.inc
............\....\wsnetbs.inc
............\....\wsnwlink.inc
............\KeepAliveTime.reg
............\MaxUserPort.reg
............\Project1.exe
............\ProjectGroup1.bdsgroup
............\TestClient.bdsproj
............\TestClient.dpr
............\TestClient.exe
............\TestClient.identcache
............\TestClient.res
............\TestServer.bdsproj
............\TestServer.cfg
............\TestServer.dpr
............\TestServer.exe
............\TestServer.identcache
............\TestServer.res
............\uClient.dcu
............\uClient.dfm
............\uClient.pas
............\uServer.dcu
............\uServer.dfm
............\uServer.pas
............\说明.txt