基于udp的socket编程实例

上传者: pp220140177 | 上传时间: 2019-12-21 20:27:31 | 文件大小: 2.73MB | 文件类型: rar
自己用MFC对话框程序实现的基于UDP的socket编程示例,分为客户端和服务端,客户端发送一个字符串,服务端接收。代码简单明了,无论是学习还是拿到自己的项目中使用都很好。

文件下载

资源详情

[{"title":"( 45 个子文件 2.73MB ) 基于udp的socket编程实例","children":[{"title":"基于UDP的异步socket程序","children":[{"title":"UDP_Client","children":[{"title":"UDP_Client.sln <span style='color:#111;'> 897B </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"udp_client-1d12b426","children":null,"spread":false}],"spread":true},{"title":"UDP_Client.suo <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"UDP_Client","children":[{"title":"resource.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"UDP_Client.rc <span style='color:#111;'> 9.81KB </span>","children":null,"spread":false},{"title":"UDP_Client.aps <span style='color:#111;'> 103.32KB </span>","children":null,"spread":false},{"title":"UDP_ClientDlg.h <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"DASocket.cpp <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"UDP_Client.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false},{"title":"UDP_Client.rc2 <span style='color:#111;'> 676B </span>","children":null,"spread":false}],"spread":true},{"title":"UDP_Client.vcxproj <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"UDP_Client.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"DASocket.h <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"UDP_Client.vcxproj.filters <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"UDP_Client.h <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"UDP_Client.cpp <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"UDP_ClientDlg.cpp <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":[{"title":"UDP_Client.pdb <span style='color:#111;'> 4.33MB </span>","children":null,"spread":false},{"title":"UDP_Client.exe <span style='color:#111;'> 87.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"UDPServer","children":[{"title":"Debug","children":[{"title":"UDPServer.pdb <span style='color:#111;'> 4.96MB </span>","children":null,"spread":false},{"title":"UDPServer.ilk <span style='color:#111;'> 1.23MB </span>","children":null,"spread":false},{"title":"UDPServer.exe <span style='color:#111;'> 179.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"ipch","children":[{"title":"udpserver-71375131","children":null,"spread":false}],"spread":true},{"title":"UDPServer.suo <span style='color:#111;'> 18.00KB </span>","children":null,"spread":false},{"title":"UDPServer.sln <span style='color:#111;'> 894B </span>","children":null,"spread":false},{"title":"UDPServer","children":[{"title":"UDPServer.rc <span style='color:#111;'> 9.87KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"UDPServer.vcxproj.filters <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"UDPServer.h <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"UDPServer.vcxproj <span style='color:#111;'> 5.74KB </span>","children":null,"spread":false},{"title":"DASocket.cpp <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":"UDPServer.aps <span style='color:#111;'> 103.30KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"UDPServer.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false},{"title":"UDPServer.rc2 <span style='color:#111;'> 674B </span>","children":null,"spread":false}],"spread":false},{"title":"UDPServer.cpp <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"UDPServer.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"UDPServerDlg.cpp <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"DASocket.h <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"UDPServerDlg.h <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • qq_39576571 :
    用着还可以
    2018-05-01
  • (*^_^*)小原 :
    用着还可以
    2018-05-01

免责申明

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