一个简单的基于TCP的多线程聊天程序

上传者: minicats | 上传时间: 2019-12-21 18:52:01 | 文件大小: 103KB | 文件类型: RAR
一个简单的基于TCP的多线程聊天程序..每个客户端登陆后,服务器都会开出两个线程用于客户端之间的消息接收和转发,线程之间使用共享资源..

文件下载

资源详情

[{"title":"( 45 个子文件 103KB ) 一个简单的基于TCP的多线程聊天程序","children":[{"title":"client","children":[{"title":"ChatClient","children":[{"title":"ReadMe.txt <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"ChatClient.opt <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"ChatClient.exe <span style='color:#111;'> 36.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"ChatClient.dsw <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"ChatClient.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"default1.bin <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"ChatClient.rc2 <span style='color:#111;'> 402B </span>","children":null,"spread":false}],"spread":true},{"title":"LogInDialog.h <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"common.h <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"ChatClient.plg <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"ChatClientDlg.h <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"ChatClient.cpp <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"ChatClient.h <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"ChatClient.clw <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"ChatClient.rc <span style='color:#111;'> 7.34KB </span>","children":null,"spread":false},{"title":"ChatClient.aps <span style='color:#111;'> 37.00KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"ChatClient.dsp <span style='color:#111;'> 4.39KB </span>","children":null,"spread":false},{"title":"ChatClient.ncb <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"ChatClientDlg.cpp <span style='color:#111;'> 15.87KB </span>","children":null,"spread":false},{"title":"LogInDialog.cpp <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"server","children":[{"title":"ChatServer","children":[{"title":"ReadMe.txt <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"ChatServer.exe <span style='color:#111;'> 28.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"ChatServer.clw <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"ChatServer.plg <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"ChatServer.dsw <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"default1.bin <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"ChatServer.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"ChatServer.rc2 <span style='color:#111;'> 402B </span>","children":null,"spread":false}],"spread":true},{"title":"ChatServer.opt <span style='color:#111;'> 61.50KB </span>","children":null,"spread":false},{"title":"common.h <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"ChatServerDlg.h <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"ChatServer.dsp <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"ChatServer.rc <span style='color:#111;'> 5.79KB </span>","children":null,"spread":false},{"title":"ChatServer.ncb <span style='color:#111;'> 97.00KB </span>","children":null,"spread":false},{"title":"ChatServerDlg.cpp <span style='color:#111;'> 21.11KB </span>","children":null,"spread":false},{"title":"ChatServer.cpp <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"ChatServer.aps <span style='color:#111;'> 36.12KB </span>","children":null,"spread":false},{"title":"ChatServer.h <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"serverLog.txt <span style='color:#111;'> 833B </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 212B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • wiririri :
    还是可以,能够运行
    2015-03-29
  • XavierZion :
    不错,编译、运行均正常。
    2014-09-15
  • 小新8111 :
    挺好用的,不过有些东西看不是很明白
    2013-03-07
  • pan_qiu_juan :
    经测试可用的一个简单对话的聊天程序,基于vs
    2012-07-16

免责申明

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