-
TCP的客户服务器通信程序 一:程序运行过程 1、运行服务器程序,等待客户端发出请求 2、运行客户端程序,输入客户的IP地址,请求连接 3、若连接成功,服务器端...
TCP的客户服务器通信程序 一:程序运行过程 1、运行服务器程序,等待客户端发出请求 2、运行客户端程序,输入客户的IP地址,请求连接 3、若连接成功,服务器端显示客户的IP地址及端口号;客户端接收文件并保存在d:clientls.txt下,否则,显示错误信息。 二:程序实现原理 发送端:打开文件,逐一读取字符到缓冲区(缓冲区大小为1024),若文件大于1024,则成块发送;若小于,则直接发送。 接受端:与发送端同理。-TCP client-server communication program one : running a process, running the server and wait for the client to issue two requests, the client operating procedures, the importation of customer IP address, link request, if successful connection, the server-client shows the IP address and port number ; the client receives the document and preserve d : client ls.txt, otherwise an error message. 2 : Principle procedures transmitter : open the file, read each character to the buffer (buffer size for 1024), and if the document is greater than 1,024, then sent into pieces; If less, then sent directly. Receivers : Send-the same reason.
- 2022-06-30 17:04:28下载
- 积分:1
-
A simple chat tool, multiple users can chat on
一个简单的聊天工具,可以实现多个用户同时上线聊天,目前已实现在局域网内聊天.这是服务端程序.-A simple chat tool, multiple users can chat on-line at the same time, the current has been achieved in the LAN chat. This is the server program.
- 2023-07-31 09:05:05下载
- 积分:1
-
这是一个简单的小程序!可以实现用http协议将Web上的文件下载到本机的Windows文件夹!
这是一个简单的小程序!可以实现用http协议将Web上的文件下载到本机的Windows文件夹!-This is a simple little procedure! Http can be used to achieve agreement on the Web to download the document for the Windows folder!
- 2022-01-30 11:07:54下载
- 积分:1
-
可用于监控系统的简报窗口,接受到信号动作后自动弹出,不同报警类型显示不同颜色字体。...
可用于监控系统的简报窗口,接受到信号动作后自动弹出,不同报警类型显示不同颜色字体。-Monitoring system can be used for briefing the window, received signal moves automatically pop-up, different alarm types show different color font.
- 2023-08-21 12:05:03下载
- 积分:1
-
一个聊天室的程序框架,可重用代码!实现自己的功能!
一个聊天室的程序框架,可重用代码!实现自己的功能!-A chat room Framework, reusable code! Realize the function of their own!
- 2022-06-21 14:08:21下载
- 积分:1
-
经典强悍,对初学者不太适合。 shell监控网络
经典强悍,对初学者不太适合。 shell监控网络-classic tough and not suitable for beginners. Shell Monitoring Network
- 2022-07-22 02:22:14下载
- 积分:1
-
基于后法做HTTP请求过程
基于post方法做的http request 程序 代码简洁明了-Based on post method to do http request process
- 2022-09-20 11:15:03下载
- 积分:1
-
一个简单的asp教程
一个简单的asp教程-a simple guide asp
- 2022-02-13 15:53:56下载
- 积分:1
-
c/s的关机程序.很easy.学习用 学习用
c/s的关机程序.很easy.学习用 学习用-c/s shutdown procedures. very easy. Learning to use learning to use
- 2023-02-23 12:05:03下载
- 积分:1
-
监听本机的所有通讯,记录数据包的协议,大小,来源,目的地等信息...
监听本机的所有通讯,记录数据包的协议,大小,来源,目的地等信息-Monitor all communications of this machine to record the packet protocol, size, origin, destination and other information
- 2022-05-31 14:45:26下载
- 积分:1