简单明了的网络数据封包解包

上传者: hrg1987 | 上传时间: 2019-12-21 19:53:55 | 文件大小: 1.74MB | 文件类型: zip
本资源利用TCP/IP协议搭建了socket的客户端和服务端,自定义了一种数据包格式,在服务端和客户端之间进行传输,有详细的封装数据包和解封装数据包流程,工程是VS2012编译的,有需要的同学尽情下载。先启动服务端再启动客户端哦

文件下载

资源详情

[{"title":"( 66 个子文件 1.74MB ) 简单明了的网络数据封包解包","children":[{"title":"Server","children":[{"title":"Server.v11.suo <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"Client","children":[{"title":"stdafx.cpp <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"tcpclient.h <span style='color:#111;'> 777B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"Client.vcxproj <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"Client.cpp <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"Client.vcxproj.filters <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"tcpclient.cpp <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"packet.h <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Client.obj <span style='color:#111;'> 159.90KB </span>","children":null,"spread":false},{"title":"vc110.idb <span style='color:#111;'> 923.00KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 51.62KB </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 10.91KB </span>","children":null,"spread":false},{"title":"Client.log <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"Client.Build.CppClean.log <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"Client.pch <span style='color:#111;'> 1.19MB </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"Client.lastbuildstate <span style='color:#111;'> 54B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 516B </span>","children":null,"spread":false},{"title":"link-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"link-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"vc110.pdb <span style='color:#111;'> 460.00KB </span>","children":null,"spread":false},{"title":"tcpclient.obj <span style='color:#111;'> 181.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"Server","children":[{"title":"stdafx.cpp <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"Server.cpp <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"Server.vcxproj <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"tcpserver.cpp <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"Server.vcxproj.filters <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"packet.h <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"tcpserver.h <span style='color:#111;'> 765B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc110.idb <span style='color:#111;'> 923.00KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"Server.lastbuildstate <span style='color:#111;'> 54B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 51.62KB </span>","children":null,"spread":false},{"title":"tcpserver.obj <span style='color:#111;'> 184.29KB </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 10.91KB </span>","children":null,"spread":false},{"title":"Server.Build.CppClean.log <span style='color:#111;'> 565B </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 516B </span>","children":null,"spread":false},{"title":"Server.obj <span style='color:#111;'> 159.87KB </span>","children":null,"spread":false},{"title":"link-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"Server.log <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"link-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"vc110.pdb <span style='color:#111;'> 460.00KB </span>","children":null,"spread":false},{"title":"Server.pch <span style='color:#111;'> 1.19MB </span>","children":null,"spread":false}],"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"Server.sln <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Client.pdb <span style='color:#111;'> 835.00KB </span>","children":null,"spread":false},{"title":"Client.ilk <span style='color:#111;'> 418.74KB </span>","children":null,"spread":false},{"title":"Server.pdb <span style='color:#111;'> 835.00KB </span>","children":null,"spread":false},{"title":"Server.ilk <span style='color:#111;'> 419.51KB </span>","children":null,"spread":false},{"title":"Server.exe <span style='color:#111;'> 69.00KB </span>","children":null,"spread":false},{"title":"Client.exe <span style='color:#111;'> 68.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • R助手 :
    我就服这些人,没有一点技术含量的代码,也天天卖弄
    2020-08-05
  • weiwei2012start :
    一般般,参考下,感觉到处都是这代码。。
    2016-10-14

免责申明

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