WinCe嵌入式系统UDP网络通信程序

上传者: LaoGaoNo1 | 上传时间: 2022-11-14 18:22:38 | 文件大小: 5.16MB | 文件类型: RAR
网络通信在嵌入式系统中经常会用到,UDP网络通信简单方便被越来越多的应用到工程中。这个程序实现了在嵌入式系统WinCE中的UDP通信通能。代码中包含了UDP通信的基本编程发放,实现消息的发送和接收。程序采用回调函数接收对方发来的UDP数据,并通过字符串的形式显示在接收窗口的便捷框中。UDP通信被封装成了类,方便初学者学习使用。c++代码实现。函数Socket套接字bind绑定IP地址和端口号。RecvThread线程实现数据的接收。SendData用于发送网口中的数据。Close函数调用SetEvent(m_ExitThreadEvent)关闭UDP端口。

文件下载

资源详情

[{"title":"( 46 个子文件 5.16MB ) WinCe嵌入式系统UDP网络通信程序","children":[{"title":"WinCe系统的UDP通信","children":[{"title":"UDP_CE.cpp <span style='color:#111;'> 7.37KB </span>","children":null,"spread":false},{"title":"UDPDemo.vco <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"UDPDemo.vcproj.Ga-PC.Administrator.user <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"EM335x (ARMV4I)","children":[{"title":"Debug","children":[{"title":"StdAfx.obj <span style='color:#111;'> 137.77KB </span>","children":null,"spread":false},{"title":"UDPDemoDlg.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"UDPDemoDlg.obj <span style='color:#111;'> 227.24KB </span>","children":null,"spread":false},{"title":"BuildLog.htm <span style='color:#111;'> 9.11KB </span>","children":null,"spread":false},{"title":"UDPDemo.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"UDP_CE.obj <span style='color:#111;'> 184.56KB </span>","children":null,"spread":false},{"title":"UDP_CE.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"vc90.pdb <span style='color:#111;'> 380.00KB </span>","children":null,"spread":false},{"title":"vc90.idb <span style='color:#111;'> 371.00KB </span>","children":null,"spread":false},{"title":"UDPDemo.obj <span style='color:#111;'> 155.97KB </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"UDPDemo.pdb <span style='color:#111;'> 5.22MB </span>","children":null,"spread":false},{"title":"UDPDemo.exe <span style='color:#111;'> 1.24MB </span>","children":null,"spread":false},{"title":"UDPDemo.bsc <span style='color:#111;'> 3.98MB </span>","children":null,"spread":false},{"title":"UDPDemo.res <span style='color:#111;'> 12.27KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"UDPDemoDlg.cpp <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"UDPDemo.vcw <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"UpgradeLog.XML <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"RCa02680 <span style='color:#111;'> 11.42KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"UDPDemo.rc2 <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"UDPDemo.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"UDPDemo.ncb <span style='color:#111;'> 13.11MB </span>","children":null,"spread":false},{"title":"UDPDemo.aps <span style='color:#111;'> 19.30KB </span>","children":null,"spread":false},{"title":"UDP_CE.h <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"UDPDemo.rc <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false},{"title":"UDPDemo.vcproj.YY.Administrator.user <span style='color:#111;'> 7.92KB </span>","children":null,"spread":false},{"title":"UDPDemoDlg.h <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"UDPDemo.sln <span style='color:#111;'> 4.43KB </span>","children":null,"spread":false},{"title":"UDPDemo.cpp <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"UDPDemo.vcc <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"UDPDemo.vcp <span style='color:#111;'> 18.93KB </span>","children":null,"spread":false},{"title":"UDPDemo.suo <span style='color:#111;'> 35.50KB </span>","children":null,"spread":false},{"title":"UDPDemo.vcproj.LQK-PC.lqk-pc.user <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"UDPDemo.h <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 961B </span>","children":null,"spread":false},{"title":"UDPDemo.vcl <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"newres.h <span style='color:#111;'> 768B </span>","children":null,"spread":false},{"title":"UDPDemo.vcproj <span style='color:#111;'> 47.45KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false},{"title":"UDPDemo.vcproj.YY-WIN8.yy.user <span style='color:#111;'> 7.97KB </span>","children":null,"spread":false},{"title":"UDPDemo.vcb <span style='color:#111;'> 129.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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