文件名称:chat_room
- 所属分类:
- Internet/网络编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2015-03-28
- 文件大小:
- 83kb
- 下载次数:
- 0次
- 提 供 者:
- xia***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
客户端实现的功能:
1. Client A 登陆聊天服务器前,需要注册自己的 ID 和密码
2. 注册成功后,Client A 就可以通过自己的 ID 和密码登陆聊天服务器
3. 多个 Client X 可以同时登陆聊天服务器之后,与其他用户进行通讯聊天
4. Client A 成功登陆后可以查看当前聊天室内其他在线用户 Client x
5. Client A 可以选择发消息给某个特定的 Client X,即”悄悄话”功能
6. Client A 可以选择发消息全部的在线用户,即”*消息”功能
服务器实现的功能:
Server 端维护一个所有用户帐号的注册信息的链表
Server 端维护一个所有已经登陆用户的链表-The client to achieve the function of:
1 Client A login chatting server before, need to register your ID and password
2 after successful registration, Client A can through their own ID and password login chatting server
More than 3 Client X can also visit chat server, communication and chat with other users
4 Client A after the successful landing you can view the current chat rooms other online user Client x
5 Client A can choose to send a message to a particular Client X, namely whisper function
6 Client A can choose to send a message of all online users, namely mass message function
The server to achieve the function of:
Server end maintenance a all user account registration information list
Server end to maintain a list of all users have login
1. Client A 登陆聊天服务器前,需要注册自己的 ID 和密码
2. 注册成功后,Client A 就可以通过自己的 ID 和密码登陆聊天服务器
3. 多个 Client X 可以同时登陆聊天服务器之后,与其他用户进行通讯聊天
4. Client A 成功登陆后可以查看当前聊天室内其他在线用户 Client x
5. Client A 可以选择发消息给某个特定的 Client X,即”悄悄话”功能
6. Client A 可以选择发消息全部的在线用户,即”*消息”功能
服务器实现的功能:
Server 端维护一个所有用户帐号的注册信息的链表
Server 端维护一个所有已经登陆用户的链表-The client to achieve the function of:
1 Client A login chatting server before, need to register your ID and password
2 after successful registration, Client A can through their own ID and password login chatting server
More than 3 Client X can also visit chat server, communication and chat with other users
4 Client A after the successful landing you can view the current chat rooms other online user Client x
5 Client A can choose to send a message to a particular Client X, namely whisper function
6 Client A can choose to send a message of all online users, namely mass message function
The server to achieve the function of:
Server end maintenance a all user account registration information list
Server end to maintain a list of all users have login
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lib\libmychat.so
inc\server_debug.h
...\wrapper_readwrite.h
...\lanchatconfig.h
...\protocol_debug.h
...\protocol_decode.h
...\protocol_base.h
...\lanchatbase.h
...\protocol_encode.h
...\client_debug.h
chat_server\.settings\org.eclipse.ltk.core.refactoring.prefs
...........\main.o
...........\alllist.c
...........\main.c
...........\core
...........\test.c
...........\server.c
...........\test
...........\server.h
...........\onlinelist.c
...........\.project
...........\Makefile
...........\client.dat~
...........\tags
...........\.cproject
...........\client.dat
...........\onlinelist.o
...........\alllist.o
...........\server.o
...........\S
.....protocol\.settings\org.eclipse.cdt.managedbuilder.core.prefs
.............\wrapper_readwrite.h
.............\wrapper_readwrite.c
.............\encode.c
.............\.project
.............\protocol_encode.h
.............\.cproject
.....client\C
...........\main.c
...........\core
...........\client.h
...........\client.o
...........\client.c
...........\.project
...........\Makefile
...........\main.o
...........\tags
...........\.cproject
.....server\.settings
.....protocol\.settings
lib
inc
chat_server
chat_protocol
chat_client