搜索资源列表
LocalNetChat
- 基于TCP/IP的通信基本上都是利用SOCKET套接字进行数据通讯,程序一般分为服务器端和用户端两部分。 第一部分 服务器端 一、创建服务器套接字(create)。 二、服务器套接字进行信息绑定(bind),并开始监听连接(listen)。 三、接受来自用户端的连接请求(accept)。 四、开始数据传输(send/receive)。 五、关闭套接字(closesocket)。 第二部分 用户端 一、创建用户套接字(create)。
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.