文件名称:wangluoliaot-ian
- 所属分类:
- Internet/网络编程
- 资源属性:
- [WORD]
- 上传时间:
- 2012-11-26
- 文件大小:
- 148kb
- 下载次数:
- 0次
- 提 供 者:
- u***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
建立聊天通信模型,设计一个聊天室软件,包括服务器端和客户端,主要功能为:
服务器端功能:
1、初始化socket, 创建服务器端。
2、维护一个链表,保存所有用户的IP地址、端口信息。
3、接受用户传送来的聊天信息,然后向链表中的所用用户转发。
4、接受用户传送来的连接判断命令,并向用户发出响应命令。
-The establishment of the chat communication model, design a chat room software, including server and client, main features are: server-side functions: 1, initialize the socket, to create a server-side. 2, maintaining a list, save all the user' s IP address and port information. 3, accept the user to send chat, and then forwarded to the linked list used by the user. And accept the user to send the connection to the judgment orders, and issue a response command to the user.
服务器端功能:
1、初始化socket, 创建服务器端。
2、维护一个链表,保存所有用户的IP地址、端口信息。
3、接受用户传送来的聊天信息,然后向链表中的所用用户转发。
4、接受用户传送来的连接判断命令,并向用户发出响应命令。
-The establishment of the chat communication model, design a chat room software, including server and client, main features are: server-side functions: 1, initialize the socket, to create a server-side. 2, maintaining a list, save all the user' s IP address and port information. 3, accept the user to send chat, and then forwarded to the linked list used by the user. And accept the user to send the connection to the judgment orders, and issue a response command to the user.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C+++网络聊天室设计报告和源程序.doc