MFC socket编程,网络传输(服务器端,客户端)

上传者: aaronzhqx | 上传时间: 2019-12-21 19:22:26 | 文件大小: 988KB | 文件类型: rar
用socket套接字实现了文件传输,尤其适用于初学者学习socket进行创建,绑定,监听,接收等过程,服务器端和客户端进行通信的整个流程,MFC界面简单。发送端有,create ,listen,accept,send等函数;接收端有create,connect,receive等函数。并且是创建一个接收和发送线程来进行发送和接收操作。

文件下载

资源详情

[{"title":"( 62 个子文件 988KB ) MFC socket编程,网络传输(服务器端,客户端)","children":[{"title":"socket编程","children":[{"title":"Receiver","children":[{"title":"限制端口的方法.txt <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"Receiver.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Receiver.rc2 <span style='color:#111;'> 400B </span>","children":null,"spread":false}],"spread":true},{"title":"Receiver.aps <span style='color:#111;'> 20.58KB </span>","children":null,"spread":false},{"title":"Receiver.clw <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"MessageData.dat <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"Receiver.plg <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"Receiver.opt <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"Receiver.cpp <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"Receiver.ncb <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false},{"title":"Receiver.h <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 823B </span>","children":null,"spread":false},{"title":"Receiver.dsw <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"ReceiverDlg.h <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Receiver.dsp <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"ReceiverDlg.cpp <span style='color:#111;'> 5.81KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Config.20110223.dat <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"notice_0.dat <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 104.18KB </span>","children":null,"spread":false},{"title":"ReceiverDlg.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Receiver.exe <span style='color:#111;'> 104.08KB </span>","children":null,"spread":false},{"title":"Receiver.obj <span style='color:#111;'> 14.13KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 201.00KB </span>","children":null,"spread":false},{"title":"Receiver.pdb <span style='color:#111;'> 273.00KB </span>","children":null,"spread":false},{"title":"Receiver.ilk <span style='color:#111;'> 200.96KB </span>","children":null,"spread":false},{"title":"server.dat <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 1.33MB </span>","children":null,"spread":false},{"title":"Winter.jpg <span style='color:#111;'> 103.07KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 356.00KB </span>","children":null,"spread":false},{"title":"Receiver.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ReceiverDlg.obj <span style='color:#111;'> 28.80KB </span>","children":null,"spread":false},{"title":"Receiver.res <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false}],"spread":false},{"title":"关闭端口.txt <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"Receiver.rc <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false}],"spread":false},{"title":"FileSender","children":[{"title":"FileSender.ncb <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false},{"title":"FileSender.dsp <span style='color:#111;'> 4.13KB </span>","children":null,"spread":false},{"title":"FileSender.clw <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"FileSender.aps <span style='color:#111;'> 20.55KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"FileSender.rc2 <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"FileSender.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"FileSender.plg <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"FileSender.dsw <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"FileSender.h <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"FileSender.rc <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false},{"title":"FileSenderDlg.h <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"FileSender.cpp <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"FileSenderDlg.cpp <span style='color:#111;'> 6.01KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 871B </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"FileSender.opt <span style='color:#111;'> 48.50KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"StdAfx.obj <span style='color:#111;'> 104.07KB </span>","children":null,"spread":false},{"title":"FileSenderDlg.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"FileSender.obj <span style='color:#111;'> 14.07KB </span>","children":null,"spread":false},{"title":"FileSenderDlg.obj <span style='color:#111;'> 32.45KB </span>","children":null,"spread":false},{"title":"FileSender.exe <span style='color:#111;'> 104.08KB </span>","children":null,"spread":false},{"title":"FileSender.res <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"FileSender.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"FileSender.ilk <span style='color:#111;'> 211.55KB </span>","children":null,"spread":false}],"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • qq_29234779 :
    不错,有参考学习价值
    2020-09-08
  • 鸿雁高飞jj :
    不错,有参考学习价值
    2020-09-08
  • vv1987hd :
    很有用的一段代码,简明易懂
    2019-01-12
  • vv1987hd :
    很有用的一段代码,简明易懂
    2019-01-12
  • xiaotaofenghcc :
    怎么提示没有文件
    2018-04-16
  • xiaotaofenghcc :
    怎么提示没有文件
    2018-04-16
  • lfn060 :
    非常清晰简单,很适合初学者学习,对我有很大的帮助,感谢。
    2018-01-31
  • lfn060 :
    非常清晰简单,很适合初学者学习,对我有很大的帮助,感谢。
    2018-01-31
  • zhuyjabc :
    出现问题:对话框无法定位序数5077于动态连接库MFC42D.dll上
    2017-06-23
  • zhuyjabc :
    出现问题:对话框无法定位序数5077于动态连接库MFC42D.dll上
    2017-06-23

免责申明

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