用JAVA实现基于C/S模式的聊天室程序。聊天室分为服务器端 和客户端两部分

上传者: 44110209 | 上传时间: 2019-12-21 21:50:25 | 文件大小: 60KB | 文件类型: zip
【设计要求】用java实现基于C/S模式的聊天室程序。聊天室分为服务器端 和客户端两部分,服务器端程序主要负责侦听客户端发来的消息,客户端需要登 陆到服务器端才可以实现正常的聊天功能。 服务器端主要功能如下:在特定端口上进行侦听,等待客户端连接。统计在 线人数。当停止服务时,断开所有的用户连接。 客户端的主要功能如下:连接到已经开启聊天服务的服务器端。当服务器端 开启的话,用户可以随时登陆与注销。用户可以向所有人或某一个人发送消息。 【界面要求】要求图形界面实现。

文件下载

资源详情

[{"title":"( 39 个子文件 60KB ) 用JAVA实现基于C/S模式的聊天室程序。聊天室分为服务器端 和客户端两部分","children":[{"title":"JAVA简易聊天室","children":[{"title":"src","children":[{"title":"server","children":[{"title":"PortConf.java <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"Node.java <span style='color:#111;'> 257B </span>","children":null,"spread":false},{"title":"ChatServer.java <span style='color:#111;'> 11.80KB </span>","children":null,"spread":false},{"title":"ServerListen.java <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"UserLinkList.java <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"ServerReceive.java <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"Help.java <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"Client","children":[{"title":"UserConf.java <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"ChatClient.java <span style='color:#111;'> 13.54KB </span>","children":null,"spread":false},{"title":"ConnectConf.java <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"Help.java <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"ClientReceive.java <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"server","children":[{"title":"ChatServer.class <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"ChatServer$1.class <span style='color:#111;'> 699B </span>","children":null,"spread":false},{"title":"Node.class <span style='color:#111;'> 536B </span>","children":null,"spread":false},{"title":"ServerReceive.class <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"PortConf.class <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"ServerListen.class <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"PortConf$3.class <span style='color:#111;'> 840B </span>","children":null,"spread":false},{"title":"Help$1.class <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"UserLinkList.class <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"PortConf$2.class <span style='color:#111;'> 782B </span>","children":null,"spread":false},{"title":"Help.class <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"PortConf$1.class <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"Client","children":[{"title":"ConnectConf$3.class <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"UserConf$3.class <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"UserConf$2.class <span style='color:#111;'> 791B </span>","children":null,"spread":false},{"title":"ConnectConf$1.class <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"ClientReceive.class <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"Help$1.class <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"UserConf.class <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"ChatClient.class <span style='color:#111;'> 12.34KB </span>","children":null,"spread":false},{"title":"ConnectConf$2.class <span style='color:#111;'> 806B </span>","children":null,"spread":false},{"title":"ConnectConf.class <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"UserConf$1.class <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"ChatClient$1.class <span style='color:#111;'> 759B </span>","children":null,"spread":false},{"title":"Help.class <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":".project <span style='color:#111;'> 395B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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