搜索资源列表
ChatRoom
- 多线程实现网络聊天室: (1)用对话框形式进行输入和显示的多人聊天室 (2)服务器可以建立多个连接,每个参与聊天的人建立一个TCP连接 (3)建立TCP连接后客户端立即发送用户名给服务器,服务器需要核实该用户是否已经存在。若该用户已经存在,则释放连接,并返回错误信息。否则,把该用户加入用户列表。 (4)一个用户名只能有一个连接。一旦连接建立并核实用户之后,用户名不可更改, 直到释放连接。 (5)用户离开并释放连接时服务器将从用户列表中删除该用户。 (6)服务器程序将接收客
chat
- 本案例是一个网络聊天工具的实现,提供了基本的聊天的功能,通过此例能学习到如何利用Socket建立服务器程序和客户端程序以及关于多进程间调度等方面的知识-This case is a network chat tool, providing the basic chat functions, through this case study into how to set up Socket server and client procedures and processes regarding m
M79000475
- 本案例是一个网络聊天工具的实现,提供了基本的聊天的功能,通过此例能学习到如何利用Socket建立服务器程序和客户端程序以及关于多进程间调度等方面的知识 -This case is an online chat tool, providing the basic chat functionality, by this example to learn how to use Socket server program and client to establish procedures and
tio
- 6. 实现一个一对一的聊天程序。其基本过程如下:服务器首先启动,创建套接字后等待客户的连接;客户启动以后,创建套接字,然后和服务器建立连接;连接建立后,客户机和服务器可以通过建立的套接字连接进行通信。服务器和客户端可以是一台电脑上的两个进程,也可以分别部署在两台电脑上。-I went to three cities to play during last summer holidays. They are Beijing, Dalian and HuHehot. I went to Beij
code_2011529175211363
- 进程见通信,用消息队列实现的简单聊天程序-See the process of communication, implemented with a simple message queue chat program
FinalQQ
- 模仿QQ的实现,使用socket类实现不同进程间的通信,带有服务端与用户端,请先开启服务端再运行客户端。-Imitate the realization of the QQ, the use of socket class to achieve the different inter-process communication with the server and client, please open the service side and then run the client.