-
此程序是我自己开发的连锁超市方案中数据交换的应用实例,所以客户端和服务端的代码有点多,但多是与通信本身无关,所实现的功能是将本地Local文件夹与远程Remot...
此程序是我自己开发的连锁超市方案中数据交换的应用实例,所以客户端和服务端的代码有点多,但多是与通信本身无关,所实现的功能是将本地Local文件夹与远程Remote文件夹的.rs文件互相进行传送。-this program is my own development of the supermarket chain data exchange program of the application, client and server-side code a bit more, but most of the communication itself has nothing to do with, the functions of local folders Local and Remote Remote folders. Rs documents transmitted each other.
- 2023-04-11 19:40:04下载
- 积分:1
-
这是我辛苦编的一个JAVA程序,是关于SocketClientprogram.简单,易懂.希望能被采用.多谢管理员过目....
这是我辛苦编的一个JAVA程序,是关于SocketClientprogram.简单,易懂.希望能被采用.多谢管理员过目.-This is the hard part I of a Java process on SocketClientprogram. simple. understandable. hope can be used. thank administrators read. Thank you
- 2022-01-28 17:39:21下载
- 积分:1
-
控件ASLanMsg是个很强大的工具,可以组织局域网中用户间消息的传递。操作时,该控件使用单向进程间通讯(IPC)机制Windows MailSlots,允许收...
控件ASLanMsg是个很强大的工具,可以组织局域网中用户间消息的传递。操作时,该控件使用单向进程间通讯(IPC)机制Windows MailSlots,允许收发广播和通常消息。功能无限制。-ASLanMsg control is a very powerful tool that can organize LAN users among news relay. Operation, Control of the use of one-way inter-process communication (IPC) mechanism MailSlots Windows, Allow transceiver radio and news usually. Features unlimited.
- 2023-03-31 19:05:03下载
- 积分:1
-
一个采用Winsock实现P2P的例子,可以帮助了解P2P的原理。
一个采用Winsock实现P2P的例子,可以帮助了解P2P的原理。-using a peer-to-peer Winsock example, can help us understand the tenets of P2P.
- 2022-05-16 07:45:58下载
- 积分: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
-
孙鑫老师网络编程教学的Socket服务器与客户机的源代码
孙鑫老师网络编程教学的Socket服务器与客户机的源代码-source code of Mr SUN Xin about network
programming teaching--server and client
- 2022-01-28 15:54:05下载
- 积分:1
-
telnet server端源码,VB开发,可以clint连接。
telnet server端源码,VB开发,可以clint连接。-telnet server-side source code, VB development, can be connected clint.
- 2023-07-30 02:30:03下载
- 积分:1
-
一个基本的动态域名程序,它是外部网络地址的…
一个基本的动态域名程序,可在有外网地址的机器上实现动态域名转发。并可实时更新域名ip信息。-a basic dynamic domain procedures, which are outside the network addresses of the machines on the dynamic domain name forward. May ip domain real-time updates of information.
- 2022-03-09 11:13:49下载
- 积分:1
-
asp网络编程从入门到精通,正版光盘。欢迎下载
asp网络编程从入门到精通,正版光盘。欢迎下载-asp network programming from entry level to proficiency, Genuine CD. Welcome to download.
- 2022-03-22 02:04:50下载
- 积分:1
-
chatroom application coded by VC.both server side and client side.
用vc实现的网络编程!聊天程序的客户端服务端都有!并且可灵活应用!可谓是一个实用程序!-chatroom application coded by VC.both server side and client side.
- 2022-04-08 18:21:09下载
- 积分:1