用C++/MFC实现P2P和群聊功能的聊天小软件

上传者: stlst | 上传时间: 2020-01-03 11:35:10 | 文件大小: 29.72MB | 文件类型: zip
计算机网络课程大作业。 使用socket编程。 实现P2P和群聊。 个性化MFC框架界面。 数据库存储方面有小的bug。 本软件用VS2010/2013开发,如遇版本问题可尝试修改“属性->常规->平台工具集”解决。

文件下载

资源详情

[{"title":"( 92 个子文件 29.72MB ) 用C++/MFC实现P2P和群聊功能的聊天小软件","children":[{"title":"MIROT-服务器","children":[{"title":"ServerSocket.h <span style='color:#111;'> 289B </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 146B </span>","children":null,"spread":false},{"title":"ascii.css <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"NetChatServer.vcxproj.filters <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"animations.js <span style='color:#111;'> 20.10KB </span>","children":null,"spread":false},{"title":"NetChatServer.suo <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false},{"title":"web.java <span style='color:#111;'> 815B </span>","children":null,"spread":false},{"title":"error.html <span style='color:#111;'> 299B </span>","children":null,"spread":false},{"title":"Header.h <span style='color:#111;'> 769B </span>","children":null,"spread":false},{"title":"ascii.js <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"NetChatServer.rc2 <span style='color:#111;'> 682B </span>","children":null,"spread":false},{"title":"NetChatServer.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false},{"title":"关闭服务器.bmp <span style='color:#111;'> 7.96KB </span>","children":null,"spread":false},{"title":"服务器背景.bmp <span style='color:#111;'> 846.50KB </span>","children":null,"spread":false},{"title":"bitmap1.bmp <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false}],"spread":true},{"title":"stdafx.h <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"NetChatServer.v12.suo <span style='color:#111;'> 54.00KB </span>","children":null,"spread":false},{"title":"userSQL.h <span style='color:#111;'> 506B </span>","children":null,"spread":false},{"title":"ClientSocket.h <span style='color:#111;'> 1005B </span>","children":null,"spread":false},{"title":"testDlg.h <span style='color:#111;'> 518B </span>","children":null,"spread":false},{"title":"ConnectionThread.java <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"NetChatServer.sdf <span style='color:#111;'> 22.83MB </span>","children":null,"spread":false},{"title":"ClassDiagram.cd <span style='color:#111;'> 60B </span>","children":null,"spread":false},{"title":"NetChatServer.rc <span style='color:#111;'> 10.98KB </span>","children":null,"spread":false},{"title":"NetChatServerDlg.cpp <span style='color:#111;'> 4.61KB </span>","children":null,"spread":false},{"title":"NetChatServer.cpp <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"NetChatServer.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"NetChatServer.h <span style='color:#111;'> 644B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"ServerSocket.cpp <span style='color:#111;'> 614B </span>","children":null,"spread":false},{"title":"userSQL.txt <span style='color:#111;'> 799B </span>","children":null,"spread":false},{"title":"NetChatServer.aps <span style='color:#111;'> 958.97KB </span>","children":null,"spread":false},{"title":"userSQL.cpp <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"ascii.html <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"NetChatServer.vcxproj <span style='color:#111;'> 6.46KB </span>","children":null,"spread":false},{"title":"NetChatServer.sln <span style='color:#111;'> 892B </span>","children":null,"spread":false},{"title":"testDlg.cpp <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"NetChatServerDlg.h <span style='color:#111;'> 924B </span>","children":null,"spread":false},{"title":"ClientSocket.cpp <span style='color:#111;'> 9.68KB </span>","children":null,"spread":false}],"spread":false},{"title":"MINET-客户端","children":[{"title":"MINET.sln <span style='color:#111;'> 882B </span>","children":null,"spread":false},{"title":"MINET","children":[{"title":"MINETDlg.cpp <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"RCa04028 <span style='color:#111;'> 17.24KB </span>","children":null,"spread":false},{"title":"Dlg_LIST.cpp <span style='color:#111;'> 7.11KB </span>","children":null,"spread":false},{"title":"Header.h <span style='color:#111;'> 763B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"MINET.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false},{"title":"发送bmp锐角.bmp <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"聊天界面bmp.bmp <span style='color:#111;'> 846.50KB </span>","children":null,"spread":false},{"title":"登录框bmp.bmp <span style='color:#111;'> 473.02KB </span>","children":null,"spread":false},{"title":"用户列表bmp.bmp <span style='color:#111;'> 581.64KB </span>","children":null,"spread":false},{"title":"SETTING_CANCEL_BTN.bmp <span style='color:#111;'> 8.89KB </span>","children":null,"spread":false},{"title":"登录按钮bmp.bmp <span style='color:#111;'> 8.59KB </span>","children":null,"spread":false},{"title":"群聊对话框bmp.bmp <span style='color:#111;'> 846.50KB </span>","children":null,"spread":false},{"title":"匿名2.bmp <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false},{"title":"群聊button.bmp <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"匿名bmp.bmp <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false},{"title":"SETTING_BTN.bmp <span style='color:#111;'> 8.38KB </span>","children":null,"spread":false},{"title":"个人设置bmp.bmp <span style='color:#111;'> 440.86KB </span>","children":null,"spread":false},{"title":"MINET.rc2 <span style='color:#111;'> 666B </span>","children":null,"spread":false},{"title":"个人设置button.bmp <span style='color:#111;'> 4.84KB </span>","children":null,"spread":false}],"spread":false},{"title":"SETTING.h <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"Dlg_LIST.h <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 910B </span>","children":null,"spread":false},{"title":"MINET.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"Dlg_CHAT.h <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"MINET.cpp <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"MINET.h <span style='color:#111;'> 1022B </span>","children":null,"spread":false},{"title":"MINETDlg.h <span style='color:#111;'> 860B </span>","children":null,"spread":false},{"title":"ClientSocket.h <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"RCa05872 <span style='color:#111;'> 17.56KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"MINET.APS <span style='color:#111;'> 3.25MB </span>","children":null,"spread":false},{"title":"RCc06968 <span style='color:#111;'> 14.59KB </span>","children":null,"spread":false},{"title":"GROUPCHAT.h <span style='color:#111;'> 868B </span>","children":null,"spread":false},{"title":"GROUPCHAT.cpp <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"Dlg_CHAT.cpp <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"MINET.vcxproj.filters <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 5.78KB </span>","children":null,"spread":false},{"title":"MINET.rc <span style='color:#111;'> 17.62KB </span>","children":null,"spread":false},{"title":"RCa06968 <span style='color:#111;'> 14.59KB </span>","children":null,"spread":false},{"title":"SETTING.cpp <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"MINET.vcxproj <span style='color:#111;'> 6.94KB </span>","children":null,"spread":false},{"title":"RCb06968 <span style='color:#111;'> 14.59KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"ClientSocket.cpp <span style='color:#111;'> 7.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"MINET.v12.suo <span style='color:#111;'> 114.50KB </span>","children":null,"spread":false},{"title":"MINET.sdf <span style='color:#111;'> 65.33MB </span>","children":null,"spread":false},{"title":"MINET.suo <span style='color:#111;'> 66.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"可执行文件","children":[{"title":"NetChatServer.exe <span style='color:#111;'> 1.29MB </span>","children":null,"spread":false},{"title":"MINET.exe <span style='color:#111;'> 11.30MB </span>","children":null,"spread":false},{"title":"userSQL.txt <span style='color:#111;'> 339B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • cfgbdfhdfhd :
    不是p2p,感觉上当了
    2020-03-05
  • cheng409431556 :
    很不错的资源
    2018-10-19
  • Bug-Father :
    实测可以跑起来,不过有几个地方博主说的不对。博文里说协议基于UDP,但是代码实际上用的却是TCP连接。而且两人聊天要通过服务器,并不是真正意义的p2p。望更正下。
    2018-08-24
  • dwm88888888 :
    p2p发送的数据应该不经过服务器啊,难道是我理解错了,发送的数据需要服务器中转也叫P2P吗 我是菜鸟,我理解错了吗
    2018-05-29
  • 笑容可怕 :
    挺好的,就是代码有些乱
    2017-11-09

免责申明

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