登录
首页 » Delphi » TestScktIocp

TestScktIocp

于 2021-04-13 发布 文件大小:661KB
0 361
下载积分: 1 下载次数: 67

代码说明:

  与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.)

文件列表:

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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • klps
    这是一个对打开窗口的位置进行安排调整的程序.可以实现重叠或平铺等功能()
    2018-04-29 12:05:48下载
    积分:1
  • tomcat5.0,是tomcat最新的版本,使用比较方便。
    tomcat5.0,是tomcat最新的版本,使用比较方便。-tomcat5.0, is the latest version of tomcat, the use of more convenient.
    2022-03-01 03:20:50下载
    积分:1
  • SPEI
    SPEI计算SPEI的R语言版与可执行版(含下载网址).rar(SPEI calculated SPEI R-language version of the executable version (with download link). Rar)
    2020-10-17 14:37:27下载
    积分:1
  • DataSocket
    这是用Labwindow/cvi编写的基于datasocket技术的网络通信技术,值得一看,对初学者很有帮助(This is prepared by using Labwindow/cvi DataSocket technology based on network communication technology, worth a look, very helpful for beginners)
    2021-04-27 15:18:44下载
    积分:1
  • Netmanag
    强大的网络管理工具,实现文件、邮件、网络等综合管理(Powerful network management tools, file, mail, Internet and other integrated management)
    2013-05-27 08:46:33下载
    积分:1
  • 是一个HTTP BINDING FOR JABBER
    是一个HTTP BINDING FOR JABBER-BINDING FOR JABBER
    2022-07-05 04:30:58下载
    积分:1
  • 在局域环境下实现屏幕广播的思想和方法…
    在局域网环境内实现屏幕广播方法思路和源程序-In the LAN environment to achieve the screen broadcasting method of thinking and source code
    2023-07-21 19:10:04下载
    积分:1
  • C# pop3 邮件接收
    private void Connect_Click(object sender, System.EventArgs e)        {            //将光标置为等待状态            Cursor cr = Cursor.Current;            Cursor.Current = Cursors.WaitCursor;            String a ,b,c;              //用110端口新建POP3服务器连接            Server = new TcpClient(PopServer.Text, 110);            Status.Items.Clear();             try            {                //初始化                NetStrm = Server.GetStream();                RdStrm = new StreamReader(Server.GetStream());                Status.Items.Add(RdStrm.ReadLine());                 //登录服务器过程                Data = "USER " Username.Text CRLF;                szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray());                NetStrm.Write(szData, 0, szData.Length);                Status.Items.Add(RdStrm.ReadLine());                 Data = "PASS " Password.Text CRLF;                szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray());                NetStrm.Write(szData, 0, szData.Length);                Status.Items.Add(RdStrm.ReadLine());                 //向服务器发送STAT命令,从而取得邮箱的相关信息:邮件数量和大小                Data = "STAT" CRLF;                szData = System.Text.Encoding.ASCII.GetBytes(Data.ToCharArray());                NetStrm.Write(szData, 0, szData.Length);                //Status.Items.Add(RdStrm.ReadLine());                 //改变按钮的状态                Connect.Enabled = false;                Disconnect.Enabled = true;                Retrieve.Enabled = true;                 //将光标置回原来状态                Cursor.Current = cr;             }            catch (InvalidOperationException err)            {                Status.Items.Add("Error: " err.ToString());            }        }
    2014-11-02下载
    积分:1
  • 桥的原理与作用,桥工作在数据链路层,将两个LAN连起来,根据MAC地址来转发帧,具体详见文档...
    网桥的原理与作用,网桥工作在数据链路层,将两个LAN连起来,根据MAC地址来转发帧,具体详见文档-bridge with the principle role of bridge work at the data link layer to link two LANs, according to the MAC address to forward frames, the specific detailed documentation
    2022-11-15 00:30:03下载
    积分:1
  • ImageWaterMark30
    缩略图水印组件3.0Demo ImageWaterMark3.0缩略图水印组件是基于Asp.Net2.0 C#.Net WebForm而开发的全功能组件,无需再服务器端安装AspJpeg组件,它的技术特点目前版本新增加了透明浮雕功能、水印平铺等,目前也是国内唯一支持透明浮雕的处理。 功能介绍 文字水印、Logo水印、文字水印阴影、文字水印描边、浮雕文字、雕刻文字、立体文字、水印平铺、水印透明度、图片裁剪、马赛克处理、图像对比度、图像亮度、图像颜色调整。 ImageWaterMark3.0缩略图水印组件注册方式:绑定域名(支持N个二级域名)或绑定服务器; 注册后用户只需要将ImageWaterMark.lic许可文件放入Bin文件夹中即可。 注意:该代码的核心内容尚未开源,仅供本地测试之用,不要用于商业用途(breviary of outline watermark outline)
    2009-07-21 17:31:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载