基于UDP的Socket 通信源码(VC++ 2010 MFC CSocket类)

上传者: 32660003 | 上传时间: 2021-08-18 14:28:13 | 文件大小: 49.71MB | 文件类型: ZIP
摘要:网络上基于socket通信的例子很多,但要么代码不好用,要么资料不全,本程序综合并参考了一定数量的文档和代码,开发如下socket通信系统。 工具: VS 2010 (C++) ; 通信原理:UDP ; 采用技术:CSocket ; 系统使用:启动多个进程,设置相应的对方IP,对方PORT和本机PORT,就可以发送消息了,支持中文发送。也可以和其他socket程序通信,测试与网上下载的“TCPUDP端口调试工具SocketTool V2.2绿色版”通信没有问题。 ; 作者技术交流邮箱: sa978bl@139.com

文件下载

资源详情

[{"title":"( 64 个子文件 49.71MB ) 基于UDP的Socket 通信源码(VC++ 2010 MFC CSocket类)","children":[{"title":"SocketUDP_ClientAndServer.sdf <span style='color:#111;'> 61.33MB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"socketudp_clientandserver-b11e1ad5","children":[{"title":"socketudp_clientandserver-b4188f66.ipch <span style='color:#111;'> 92.00MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SocketUDP_ClientAndServer","children":[{"title":"resource.h <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServerDlg.h <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"SocketUdp.cpp <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.vcxproj.filters <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.aps <span style='color:#111;'> 104.84KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"cl.command.1.tlog <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"link.2576-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.write.1.tlog <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"link.8136-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.8136.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServerDlg.obj <span style='color:#111;'> 72.99KB </span>","children":null,"spread":false},{"title":"link.6204.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.8136-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.res <span style='color:#111;'> 68.79KB </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 76.59KB </span>","children":null,"spread":false},{"title":"SocketUdp.obj <span style='color:#111;'> 12.80KB </span>","children":null,"spread":false},{"title":"vc100.idb <span style='color:#111;'> 2.05MB </span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'> 868B </span>","children":null,"spread":false},{"title":"link.6204.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 6.80KB </span>","children":null,"spread":false},{"title":"link.2576.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.2576-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.log <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.pch <span style='color:#111;'> 35.38MB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.exe.embed.manifest <span style='color:#111;'> 667B </span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 3.74MB </span>","children":null,"spread":false},{"title":"link.6204-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.6204-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer_manifest.rc <span style='color:#111;'> 240B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.exe.embed.manifest.res <span style='color:#111;'> 732B </span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"link.2576.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 732.11KB </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.lastbuildstate <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":"link.8136.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'> 914B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.vcxprojResolveAssemblyReference.cache <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 902B </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.exe.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.obj <span style='color:#111;'> 31.71KB </span>","children":null,"spread":false}],"spread":false},{"title":"SocketUDP_ClientAndServer.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.cpp <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"SocketUdp.h <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"SocketUDP_ClientAndServer.rc2 <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"SocketUDP_ClientAndServer.h <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServerDlg.cpp <span style='color:#111;'> 8.10KB </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.rc <span style='color:#111;'> 12.34KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.vcxproj <span style='color:#111;'> 6.02KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":false},{"title":"SocketUDP_ClientAndServer.sln <span style='color:#111;'> 942B </span>","children":null,"spread":false},{"title":"SocketUDP_ClientAndServer.suo <span style='color:#111;'> 19.00KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • bravery_mystyle :
    还好,效果可以
    2019-01-23
  • dragon000000 :
    好用,效果还是很好
    2018-10-19

免责申明

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