文件名称:E08700111
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:342.06kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
建立聊天通信模型,设计一个聊天室软件,包括服务器端和客户端。本程序能实现局域网内用户同时聊天的功能。
服务器端功能:初始化 Socket,创建服务器端;)维护一个链表,保存所有用户的 IP地址 端口信息;接受用户传送来的聊天信息,然后向链表中的所用用户转发;接受用户传送来的连接判断命令,并向用户发出响应命令;
客户端功能:客户端界面上的两个文本框,一个用于显示接受的聊天信息,一个用来接受用户输入的聊天信息 当按下发送按钮时将信息发送给服务器。
-A chat communication model, design a chat room software, including server and client. This program enables LAN users to simultaneously chat function.
Server-side functions: initialization Socket, create server-side ) maintains a list, save all the user s IP address port information to accept the user to send chat messages, and then used to list users in the forwarding transmitted to the receiving user connection determine the order, issue a response to user commands
Client-side functionality: client interface two text boxes, one for receiving chat messages, one to accept user input chat messages when you press the Send button to send information to the server.
服务器端功能:初始化 Socket,创建服务器端;)维护一个链表,保存所有用户的 IP地址 端口信息;接受用户传送来的聊天信息,然后向链表中的所用用户转发;接受用户传送来的连接判断命令,并向用户发出响应命令;
客户端功能:客户端界面上的两个文本框,一个用于显示接受的聊天信息,一个用来接受用户输入的聊天信息 当按下发送按钮时将信息发送给服务器。
-A chat communication model, design a chat room software, including server and client. This program enables LAN users to simultaneously chat function.
Server-side functions: initialization Socket, create server-side ) maintains a list, save all the user s IP address port information to accept the user to send chat messages, and then used to list users in the forwarding transmitted to the receiving user connection determine the order, issue a response to user commands
Client-side functionality: client interface two text boxes, one for receiving chat messages, one to accept user input chat messages when you press the Send button to send information to the server.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
E08700111.doc
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
