首页 开发技术 C++     /    IOCP-完成端口-改编CSDN小猪例子

IOCP-完成端口-改编CSDN小猪例子

上传者: xiaoyanzi521 | 上传时间:2023/8/21 2:46:58 | 文件大小:3MB | 文件类型:zip
IOCP-完成端口-改编CSDN小猪例子
http://blog.csdn.net/piggyxp/article/details/6922277#comments这篇文章很好的描述了IOCP并提供了很好的客户端和服务器例子;
而我为服务器添加了发送数据,采用WSASend函数,然后给客户端加了接收数据,方便测试服务器发来的数据。
工程用的vs2010。

文件下载

资源详情

[{"title":"(57个子文件3MB)IOCP-完成端口-改编CSDN小猪例子","children":[{"title":"PiggyStressTestClient","children":[{"title":"PiggyStressTestClient.suo <span style='color:#111;'>34.00KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"PiggyStressTestClient.exe <span style='color:#111;'>136.50KB</span>","children":null,"spread":false}],"spread":true},{"title":"PiggyStressTestClient","children":[{"title":"PiggyStressTestClient.vcproj.HAOTHINK.HaoWang.user <span style='color:#111;'>1.38KB</span>","children":null,"spread":false},{"title":"MainDlg.h <span style='color:#111;'>1.20KB</span>","children":null,"spread":false},{"title":"PiggyStressTestClient.vcxproj.filters <span style='color:#111;'>2.33KB</span>","children":null,"spread":false},{"title":"PiggyStressTestClient.aps <span style='color:#111;'>58.91KB</span>","children":null,"spread":false},{"title":"PiggyStressTestClient.cpp <span style='color:#111;'>1.73KB</span>","children":null,"spread":false},{"title":"PiggyStressTestClient.rc <span style='color:#111;'>5.98KB</span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'>1.78KB</span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'>2.75KB</span>","children":null,"spread":false},{"title":"PiggyStressTestClient.h <span style='color:#111;'>495B</span>","children":null,"spread":false},{"title":"res","children":[{"title":"vssver2.scc <span style='color:#111;'>193B</span>","children":null,"spread":false},{"title":"PiggyStressTestClient.rc2 <span style='color:#111;'>411B</span>","children":null,"spread":false},{"title":"PiggyStressTestClient.ico <span style='color:#111;'>21.12KB</span>","children":null,"spread":false}],"spread":true},{"title":"Client.cpp <span style='color:#111;'>9.15KB</span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'>152B</span>","children":null,"spread":false},{"title":"PiggyStressTestClient.vcproj <span style='color:#111;'>5.66KB</span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'>1016B</span>","children":null,"spread":false},{"title":"Client.h <span style='color:#111;'>3.39KB</span>","children":null,"spread":false},{"title":"PiggyStressTestClient.vcproj.MYPC.Piggy.user <span style='color:#111;'>1.37KB</span>","children":null,"spread":false},{"title":"PiggyStressTestClient.vcxproj.user <span style='color:#111;'>143B</span>","children":null,"spread":false},{"title":"MainDlg.cpp <span style='color:#111;'>5.56KB</span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'>1.01KB</span>","children":null,"spread":false},{"title":"XPStyle.manifest <span style='color:#111;'>594B</span>","children":null,"spread":false},{"title":"PiggyStressTestClient.vcxproj <span style='color:#111;'>7.93KB</span>","children":null,"spread":false}],"spread":false},{"title":"PiggyStressTestClient.sln <span style='color:#111;'>930B</span>","children":null,"spread":false}],"spread":true},{"title":"ReadMe.txt <span style='color:#111;'>253B</span>","children":null,"spread":false},{"title":"PiggyIOCPServer_2008","children":[{"title":"PiggyIOCPServer.sln <span style='color:#111;'>912B</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"PiggyIOCPServer---原文件.exe <span style='color:#111;'>5.83MB</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.exe <span style='color:#111;'>5.83MB</span>","children":null,"spread":false},{"title":"PiggyStressTestClient---原文件.exe <span style='color:#111;'>136.50KB</span>","children":null,"spread":false}],"spread":true},{"title":"PiggyIOCPServer","children":[{"title":"MainDlg.h <span style='color:#111;'>1.41KB</span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'>868B</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.h <span style='color:#111;'>497B</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.aps <span style='color:#111;'>58.27KB</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.vcproj.HAOWANGBOOK.Thinkpad.user <span style='color:#111;'>1.39KB</span>","children":null,"spread":false},{"title":"IOCPModel.h <span style='color:#111;'>8.10KB</span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'>1.73KB</span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'>2.66KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"PiggyIOCPServer.ico <span style='color:#111;'>21.12KB</span>","children":null,"spread":false},{"title":"vssver2.scc <span style='color:#111;'>163B</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.rc2 <span style='color:#111;'>405B</span>","children":null,"spread":false}],"spread":false},{"title":"PiggyIOCPServer.vcproj.HAOTHINK.HaoWang.user <span style='color:#111;'>1.38KB</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.vcxproj.filters <span style='color:#111;'>2.31KB</span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'>146B</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.vcxproj.user <span style='color:#111;'>143B</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.vcproj <span style='color:#111;'>5.74KB</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.rc <span style='color:#111;'>5.67KB</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.cpp <span style='color:#111;'>1.67KB</span>","children":null,"spread":false},{"title":"MainDlg.cpp <span style='color:#111;'>4.92KB</span>","children":null,"spread":false},{"title":"IOCPModel.cpp <span style='color:#111;'>23.81KB</span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'>1.01KB</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.vcxproj <span style='color:#111;'>7.96KB</span>","children":null,"spread":false},{"title":"XPStyle.manifest <span style='color:#111;'>594B</span>","children":null,"spread":false},{"title":"PiggyIOCPServer.vcproj.MYPC.Piggy.user <span style='color:#111;'>1.37KB</span>","children":null,"spread":false}],"spread":false},{"title":"PiggyIOCPServer.suo <span style='color:#111;'>26.50KB</span>","children":null,"spread":false},{"title":"UpgradeLog.XML <span style='color:#111;'>1.44KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • zhouljsh:
    可以运行。感谢,学习了,太高深了。2020-08-30
  • 杭州山不高:
    感谢作者上传分享!2019-11-14
  • SimpleSimple:
    还可以,能够使用2019-06-27
  • zjfywyf:
    谢谢分享,可以用.........2019-06-26
  • AQ_Q:
    有了发送功能应用起来确实更清晰2019-06-20

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明