基于Socket通信的聊天程序

上传者: yoyo19921116 | 上传时间: 2021-06-27 13:10:23 | 文件大小: 3.8MB | 文件类型: RAR
先启动服务器程序,弹出服务器初始化窗口,输入端口号,然后单击确定,弹出服务器的主窗口。接着启动客户端程序,弹出客户端登录窗口,输入用户名,服务器地址和服务器端口,单击确定,弹出客户端主窗口。在客户端输入信息,按发送,就可以在服务器显示出来,这就实现了一个聊天的基本功能。

文件下载

资源详情

[{"title":"( 44 个子文件 3.8MB ) 基于Socket通信的聊天程序","children":[{"title":"ChatServer","children":[{"title":"ListeningSocket.h <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"ChatServer.clw <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"InitDlg.obj <span style='color:#111;'> 9.86KB </span>","children":null,"spread":false},{"title":"ChatServer.res <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 364.00KB </span>","children":null,"spread":false},{"title":"ChatServer.ilk <span style='color:#111;'> 229.48KB </span>","children":null,"spread":false},{"title":"InitDlg.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ChatServer.pch <span style='color:#111;'> 6.82MB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 353.00KB </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 103.97KB </span>","children":null,"spread":false},{"title":"ChatServer.pdb <span style='color:#111;'> 417.00KB </span>","children":null,"spread":false},{"title":"ChatServerDlg.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ListeningSocket.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ChatServerDlg.obj <span style='color:#111;'> 34.30KB </span>","children":null,"spread":false},{"title":"ClientSocket.obj <span style='color:#111;'> 6.77KB </span>","children":null,"spread":false},{"title":"ChatServer.exe <span style='color:#111;'> 112.06KB </span>","children":null,"spread":false},{"title":"ClientSocket.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 1.33MB </span>","children":null,"spread":false},{"title":"ChatServer.bsc <span style='color:#111;'> 3.02MB </span>","children":null,"spread":false},{"title":"ChatServer.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ListeningSocket.obj <span style='color:#111;'> 6.10KB </span>","children":null,"spread":false},{"title":"ChatServer.obj <span style='color:#111;'> 13.97KB </span>","children":null,"spread":false}],"spread":false},{"title":"ChatServer.h <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"ChatServerDlg.h <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"ChatServer.opt <span style='color:#111;'> 860.00KB </span>","children":null,"spread":false},{"title":"InitDlg.h <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"ChatServer.dsw <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"ChatServerDlg.cpp <span style='color:#111;'> 5.30KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"ChatServer.ncb <span style='color:#111;'> 97.00KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"ChatServer.rc2 <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"ChatServer.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"ChatServer.aps <span style='color:#111;'> 35.29KB </span>","children":null,"spread":false},{"title":"ClientSocket.h <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"ChatServer.plg <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"ChatServer.rc <span style='color:#111;'> 5.72KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"ClientSocket.cpp <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"ChatServer.dsp <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"ChatServer.cpp <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"InitDlg.cpp <span style='color:#111;'> 929B </span>","children":null,"spread":false},{"title":"ListeningSocket.cpp <span style='color:#111;'> 997B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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