登录
首页 » Windows Socket编程 » socket常用函数说明,是初学者查询socket函数功能得好文章

socket常用函数说明,是初学者查询socket函数功能得好文章

于 2022-07-20 发布 文件大小:3.29 kB
0 214
下载积分: 2 下载次数: 2

代码说明:

socket常用函数说明,是初学者查询socket函数功能得好文章-socket commonly used functions that are beginners inquiries good article socket Function

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 用DELPHI写的可以监控网络上主机网络状态的工具。
    用DELPHI写的可以监控网络上主机网络状态的工具。-DELPHI written with the network host can monitor the network status tool.
    2022-02-01 16:06:03下载
    积分: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
  • VNC 测试通过版(VC6下测试通过)开源代码 (包括服务端和客户端)...
    VNC 测试通过版(VC6下测试通过)开源代码 (包括服务端和客户端)-VNC test version (VC6 under test) open source code (including server and client)
    2023-04-22 11:35:03下载
    积分:1
  • Microsoft Start kit thebeerhouse Website source
    Microsoft Start kit thebeerhouse Website source
    2023-07-22 07:00:07下载
    积分:1
  • 从Internet网络中获取一个服务器的IP地址、机器名称、子网掩码、DNS配置等信息。...
    从Internet网络中获取一个服务器的IP地址、机器名称、子网掩码、DNS配置等信息。-from Internet access to a network server"s IP address, machine name, subnet mask, DNS configuration information.
    2022-04-28 14:46:51下载
    积分:1
  • very good source code procedures
    非常好的源代码程序-very good source code procedures
    2022-08-24 15:54:57下载
    积分:1
  • a good introductory Java programming socket books. The book start with the basic...
    一个不错的介绍JAVA socket编程的书籍。本书从基本开始,到更深的层次!-a good introductory Java programming socket books. The book start with the basics, to a deeper level!
    2023-08-31 03:15:03下载
    积分:1
  • 用java实现的Tftp(Sftp)客户端与服务器序。在这个序中用到了一个“状态”的机制:客户端与服务器端在开始运行时有相同的状态,通过用户的输入或序内部...
    用java实现的Tftp(Sftp)客户端与服务器程序。在这个程序中用到了一个“状态”的机制:客户端与服务器端在开始运行时有相同的状态,通过用户的输入或程序内部运行的机制,程序可以转到不同的状态,在不同的状态下程序实现了不同的功能 -Using java realized Tftp (Sftp) client and server program. In this procedure used a state of the mechanism: client and server-side run-time in the beginning has the same state, through user input or program running internal mechanisms, procedures can be transferred to a different state, in a different state under the procedures realize the different functions
    2022-05-31 20:30:52下载
    积分:1
  • 初级
    初级-建立虚拟硬盘-junior-establish virtual drive
    2022-03-04 04:06:33下载
    积分:1
  • Telnet服务器与Telnet客户机序,涉及Telnet远登陆与NT服务原理...
    Telnet服务器与Telnet客户机程序,涉及Telnet远程登陆与NT服务程序编程原理-Telnet server and Telnet client procedures involved and Telnet remote login service programming NT Principle
    2022-10-13 18:05:03下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载