-
利用进程通信套接字socket 的编程接口功能,设计和实现了一个简单的文件传输协议。此为FTP服务器端。...
利用进程通信套接字socket 的编程接口功能,设计和实现了一个简单的文件传输协议。此为FTP服务器端。-communications process using socket programming interface functions, Design and Implementation of a simple file transfer protocol. To this FTP server.
- 2022-03-22 05:07:00下载
- 积分:1
-
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
-
Java RMI 编程, 实现远程方法调用, 接口提供了一些功能, 通过注册并创建实例来远程调用用户需要的服务....
Java RMI 编程, 实现远程方法调用, 接口提供了一些功能, 通过注册并创建实例来远程调用用户需要的服务.-Java RMI programming, Remote Method Invocation, Interface provided some functions, and created examples distance call service user needs.
- 2022-02-27 08:13:33下载
- 积分:1
-
硬盘读取你可以自动读取服务器的信息,对服务器内容进行操作...
硬盘读取你可以自动读取服务器的信息,对服务器内容进行操作-Hard to read the server you can automatically read the information on the content server to operate
- 2022-03-24 22:28:18下载
- 积分:1
-
该程序为网络视频监控的客户端软件,采用套接字编程,用流媒体显示技术,功能实用,可以直接编译。...
该程序为网络视频监控的客户端软件,采用套接字编程,用流媒体显示技术,功能实用,可以直接编译。-The procedure for network video surveillance client software, using socket programming, using streaming media technology, functional and practical, can be directly compiled.
- 2023-04-19 18:15:03下载
- 积分:1
-
客户端定时向服务器发送数据,用VC编写,XP下执行,虽然没什么价值,但是是我的心血...
客户端定时向服务器发送数据,用VC编写,XP下执行,虽然没什么价值,但是是我的心血-client regularly send data to the server, with VC preparation, the implementation of XP, although no value, but my efforts
- 2022-02-01 06:17:55下载
- 积分:1
-
vb写的拦截封包的程序。有兴趣的可以看看,仅供参考。
vb写的拦截封包的程序。有兴趣的可以看看,仅供参考。-vb wrote intercept packets procedures. Interested can see, for reference purposes only.
- 2023-04-11 21:35:04下载
- 积分:1
-
计算校验和
校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP...
计算校验和
校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP和TCP 等等。计算这些校验和的算法称为网际校验和算法,简单来说就是:把被校验的数据16位进行累加,然后取反码,若数据字节长度为奇数,则数据尾部补一个字节的0以凑成偶数。
由于从输入文件读入的数据不能直接满足计算校验和的条件,所以首先对从文件读入缓冲区的数据进行预处理,即读入缓冲区时忽略空格。由于累加是按16位进行的,所以每次从缓冲区中读出4个字符,并将字符转换成对应的16进制数字,如此依次累加,直至数据全部读完。
还有一种情况,即如果数据长度为奇数个字节,则需要判断,并补0累加。程序中利用的是缓冲区长度计数器i和当前读取到计数器j判断数据长度是否为奇数。即如果数据长度为偶数,则读完数据时当前读取到计数器j的值应与缓冲区长度i相等,而如果数据长度为奇数,则读完数据时,当前读取到计数器j>缓冲区长度i,此时需将缓冲区中剩余的两个字符读出,并补0,转换成相应16进制数以后参与累加。
当累加结束后,将累加和的16位以上数据位移下再进行一次累加,并对最后累加和取反即得所求校验和。
-calculated checksum checksum algorithm Description : To ensure the network transmission of data reliability, in many of the agreements are set up and calibration, for example : IPv4, ICMPv4, IGMPV4, ICMPv6. UDP and TCP so on. Calculating checksum algorithm called the Internet checksum algorithm, the simple answer is : as has been the calibration data for 16 cumulative, and then take the anti-code, if the data byte length of the odd, data will make up the tai
- 2022-01-26 06:39:03下载
- 积分:1
-
类似windows的net send功能的给其他windows机器发送消息的程序,其他机器不需要安装程序也可以收到消息...
类似windows的net send功能的给其他windows机器发送消息的程序,其他机器不需要安装程序也可以收到消息-A program in which message can be sent to others windows machine as like windows`s net sending function , and other machines can receive messages without installing this program
- 2022-03-19 07:17:47下载
- 积分:1
-
点对点视频聊天程序,修改可以作为相关开发的参考
点对点视频聊天程序,修改可以作为相关开发的参考-point-to-point video chat procedures can be revised as the development of the relevant reference
- 2022-03-02 09:06:37下载
- 积分:1