基于TCP的聊天室(包含客户端与服务器端)

上传者: u011142128 | 上传时间: 2019-12-21 21:21:38 | 文件大小: 414KB | 文件类型: rar
该聊天室是基于TCP。程序分为两个部分,客户端和服务器端,利用Socket(套接字)编程,实现了多个客户端之间的简单通信。该程序是学习网络编程的最佳选择,它能帮助你迅速的掌握网络编程的思路。

文件下载

资源详情

[{"title":"( 51 个子文件 414KB ) 基于TCP的聊天室(包含客户端与服务器端)","children":[{"title":"TCP_Chat","children":[{"title":"ChatRoom_TCP_Client","children":[{"title":"ChatRoom_TCP_Client","children":[{"title":"stdafx.cpp <span style='color:#111;'> 152B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"ChatRoom_TCP_Client.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Client.rc2 <span style='color:#111;'> 694B </span>","children":null,"spread":false}],"spread":true},{"title":"stdafx.h <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Client.cpp <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_ClientDlg.h <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Client.h <span style='color:#111;'> 520B </span>","children":null,"spread":false},{"title":"ClientSocket.h <span style='color:#111;'> 353B </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Client.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_ClientDlg.cpp <span style='color:#111;'> 7.13KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Client.vcxproj <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Client.rc <span style='color:#111;'> 11.65KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Client.vcxproj.filters <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Client.aps <span style='color:#111;'> 104.36KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"ClientSocket.cpp <span style='color:#111;'> 543B </span>","children":null,"spread":false}],"spread":false},{"title":"ChatRoom_TCP_Client.suo <span style='color:#111;'> 17.00KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Client.sln <span style='color:#111;'> 924B </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"chatroom_tcp_client-7bb14322","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ChatRoom_TCP_Server","children":[{"title":"ChatRoom_TCP_Server.sln <span style='color:#111;'> 924B </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Server","children":[{"title":"ServerSocket.h <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 152B </span>","children":null,"spread":false},{"title":"ListenSocket.h <span style='color:#111;'> 628B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"ChatRoom_TCP_Server.rc2 <span style='color:#111;'> 694B </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Server.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"ChatRoom_TCP_Server.h <span style='color:#111;'> 520B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Server.cpp <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"Listen_Socket.h <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ClistenSocket.h <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_ServerDlg.h <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Server.vcxproj <span style='color:#111;'> 6.15KB </span>","children":null,"spread":false},{"title":"ListenSocket.cpp <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Server.aps <span style='color:#111;'> 104.27KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_ServerDlg.cpp <span style='color:#111;'> 6.25KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Server.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Server.vcxproj.filters <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Server.rc <span style='color:#111;'> 11.57KB </span>","children":null,"spread":false},{"title":"ServerPortDlg.cpp <span style='color:#111;'> 657B </span>","children":null,"spread":false},{"title":"Listen_Socket.cpp <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"ServerSocket.cpp <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"ServerPortDlg.h <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"ClistenSocket.cpp <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"ChatRoom_TCP_Server.suo <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"chatroom_tcp_server-eba13e6a","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"说明.txt <span style='color:#111;'> 178B </span>","children":null,"spread":false},{"title":"可执行文件","children":[{"title":"ChatRoom_TCP_Client.exe <span style='color:#111;'> 158.50KB </span>","children":null,"spread":false},{"title":"ChatRoom_TCP_Server.exe <span style='color:#111;'> 168.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • milk_sw :
    正在细细琢磨
    2018-07-04
  • chuangwanglichuang :
    还算可以,积分有点儿高啊
    2015-06-08
  • rtttte :
    基于c++的,要是c就好了
    2014-10-28
  • NO_小贾 :
    感觉还可以把,正在细看。
    2014-07-08

免责申明

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