-
1. Contents simpletcp through Winsock API TCP chatting procedures , the integrat...
1. 目录simpletcp是通过Winsock API实现TCP聊天的程序,程序中集成了服务器端和客户端;2. 目录simpleudp是通过Winsock API实现UDP聊天的程序;3. 目录winsock control是通过winsock控件实现聊天的程序,其中子目录tcp是通过winsock控件实现tcp聊天的程序、而子目录udp是通过winsock控件实现udp聊天的程序;-1. Contents simpletcp through Winsock API TCP chatting procedures , the integration process server and the client; 2. Contents simpleudp through Winsock API UDP chatting procedures; 3. Contents winsock control is achieved through chat winsock control procedures, tcp subdirectory which is achieved through winsock tcp Chat Control procedures and subdirectories udp through winsock Controlware udp chatting procedures;
- 2022-05-08 13:52:25下载
- 积分:1
-
客户端和服务器文件传输的例子,网络编程的帮助下…
一个客户端和服务器文件传输的例子,对网路编程有帮助,类似FTP-a client and server file transfer example, the Internet programming help, similar to FTP
- 2022-03-28 21:07:52下载
- 积分: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
-
查看HOTMAIL邮件的源代码
查看HOTMAIL邮件的源代码-See HOTMAIL e-mail source code
- 2022-06-19 12:46:23下载
- 积分:1
-
这是一个远程关机程序,远程计算机系统关机
这是一个远程关机程序,可以远程关闭微机系统-This is a remote shutdown procedures, remote computer system shut down
- 2022-01-22 14:36:57下载
- 积分:1
-
windows网络编程
多个WINDOWS SOCKET 编程实例,基础
本书专门讨论Windows网络编程技术,覆盖Windows 95/98/NT 4/2000/CE平台。
内容包括NetBIOS和Windows重定向器方法、Winsock方法、客户端远程访问服务器方法。
本书论述深入浅出、用大量实例详解了微软网络API函数的应用。
配套光盘包含了所有实例代码,方便读者使用。本书适合中、高级程序设计人员以及网络设计与管理人员参考。
- 2023-06-01 03:25:05下载
- 积分:1
-
ace源代码中附带的管理日志服务器实现的一个具体的小例子,希望能上传成功...
ace源代码中附带的管理日志服务器实现的一个具体的小例子,希望能上传成功-ace in the source code attached to the log management server of a specific implementation of a small example of the hope of a successful upload
- 2023-01-29 20:20:03下载
- 积分:1
-
Generation Ethernet MAC address registration number only provide online registra...
根据网卡MAC地址生成唯一注册号码,提供产品网上注册功能-Generation Ethernet MAC address registration number only provide online registration of products
- 2022-02-04 07:56:48下载
- 积分:1
-
小型聊天系统原代码
小型聊天系统原代码-small chat system source code
- 2022-01-23 11:02:50下载
- 积分:1
-
软件简介:这些源码是网络硬盘上的例子,经同意,本人代为发布. 里面有近百个例子,内容由浅入深.无论您是新手还是有较高水平的好手, 相信你也可以在其中学到不少的东...
软件简介:这些源码是网络硬盘上的例子,经同意,本人代为发布. 里面有近百个例子,内容由浅入深.无论您是新手还是有较高水平的好手, 相信你也可以在其中学到不少的东西.(-Software Description : These source of network drives example, by consent, I transgressions. There are nearly 100 examples, as elementary. Whether you are a novice or a higher level of players, I think you can learn a lot of these things. (
- 2022-02-12 04:11:22下载
- 积分:1