-
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
-
采用CSOCKET得到服务器的时间,利用TCP/IP的13端口提供的时间服务,要求提供时间服务的计算机安装简单TCP/IP协议。...
采用CSOCKET得到服务器的时间,利用TCP/IP的13端口提供的时间服务,要求提供时间服务的计算机安装简单TCP/IP协议。-CSOCKET used to be a time server using TCP/IP 13 ports for the service, asked for time to install the computer services simple TCP/IP protocol.
- 2022-06-16 07:00:20下载
- 积分:1
-
DNS 解析用的库源码,还包含windows下nslookup的源码
DNS 解析用的库源码,还包含windows下nslookup的源码-DNS analysis for the source, the windows also includes the source code under nslookup
- 2022-01-22 02:23:04下载
- 积分:1
-
局域网的一个信息交换平台,可用于网间交换信息
局域网的一个信息交换平台,可用于网间交换信息-a LAN information exchange platform for the exchange of information between network
- 2022-06-02 20:13:10下载
- 积分:1
-
套接字实现TCP协议和试验数据通信使用…
利用套接字实现用TCP协议的数据通信并进行了测试通过-The use of sockets to achieve data communication with the TCP protocol and tested through
- 2023-01-27 17:10:04下载
- 积分:1
-
The basic process of network communication using the form of blocking, code conc...
网络通信的基本过程,采用阻塞的形式,代码简洁-The basic process of network communication using the form of blocking, code concise
- 2022-09-01 17:40:03下载
- 积分:1
-
windows Chat; 简单的聊天代码,适合初学参考。
windows Chat; 简单的聊天代码,适合初学参考。-windows; Simple Chat code, suitable for beginners reference.
- 2022-07-19 01:25:52下载
- 积分:1
-
This is my courses in computer network design process, vc used for the developme...
这是我在计算机网络课程设计中的程序,用vc开发用于文件传输-This is my courses in computer network design process, vc used for the development of file transfer
- 2022-08-14 10:10:07下载
- 积分:1
-
一个写好的串口通信程序,窗口程序可以直接调用
一个写好的串口通信程序,窗口程序可以直接调用-A written serial communication program, the window procedure can directly call
- 2022-12-04 17:45:03下载
- 积分:1
-
很不错的书要有一定编程基础的才能看懂不适合菜菜的
很不错的书要有一定编程基础的才能看懂不适合菜菜的-very good to have a certain book based programming can understand not suitable for the planting
- 2023-05-15 13:25:02下载
- 积分:1