资 源 简 介
1、 聊天室的实现,需要一个客户端和一个服务器端。客户端具有下列的功能:用户登录,退出,可以看到聊天室中的成员列表,以及当前聊天室的聊天信息。以及可以输入信息并发给服务器端。服务器端具有下列的功能:应保存当前登录的用户列表,以及每个用户所聊天的信息的功能,并且要能做到随时更新显示在客户端的用户列表和聊天室列表。-1, chat rooms realize the need for a client and a server-side. The client has the following features: User Login, quit, you can see the chat room in the members list, and the current chat room chat message. And can enter information and distributed server-side. Server-side with the following features: should keep a list of users currently logged on, and each user of the chat function of the information, and can be updated to show the user on the client list and a list of chat rooms.