登录
首页 » Windows Socket编程 » 一个封装良好、稳定的SOCKET基类(TCP),不使用MFC,可初始化为服务端或客户端。...

一个封装良好、稳定的SOCKET基类(TCP),不使用MFC,可初始化为服务端或客户端。...

于 2022-03-14 发布 文件大小:6.14 kB
0 167
下载积分: 2 下载次数: 1

代码说明:

一个封装良好、稳定的SOCKET基类(TCP),不使用MFC,可初始化为服务端或客户端。-a good, stable base class SOCKET (TCP), do not use MFC, initialize to the server or client.

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

发表评论

0 个回复

  • JAVA脚本源代码,一些很流行的代码,试用于初学者
    JAVA脚本源代码,一些很流行的代码,试用于初学者-Java script source code, some of the very popular code, use it on beginners
    2023-07-27 12:40:03下载
    积分:1
  • C#开发的如何上下载文件的序,加在序可开发序自动更新序....
    C#开发的如何上下载文件的程序,加在程序可开发程序自动更新程序.-C# Developed how to download files procedure, added to the program can be the development of procedures for automatic updates.
    2022-06-12 13:32:01下载
    积分: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
  • 通过对局域网文件传输的TCP / IP协议发送文件…
    局域网发送文件,可以通过TCP/IP协议来进行文件的传送-LAN to send documents through the TCP/IP protocol for the transmission of documents
    2022-09-05 11:35:03下载
    积分:1
  • 聊天序(客户端和服务端,包含一个socket.ocx)
    聊天程序(客户端和服务端,包含一个socket.ocx)-chat program (client and server, including a socket.ocx)
    2022-02-06 12:33:27下载
    积分:1
  • radius detection through hough transform
    radius detection through hough transform
    2022-01-24 18:30:34下载
    积分:1
  • Project is based on the bookstoressh package eclipse3.2 deployed, the user only...
    项目bookstoressh是基于 eclipse3.2包进行布署的,使用者只用下载后,解压出来,然后,通过eclipse的import导入工程,就可以重新布署应用该程序了,注意把DB目录下的文件复制到你的MYSQL的DATA目录 然后如果要改数据库连接,就在com.asent.bean包下修改hibernate.cfg.xml文件就行了,-Project is based on the bookstoressh package eclipse3.2 deployed, the user only after downloading, unzip them, and then, through the eclipse of the import into the project, you can re-deployment of application of the procedure, paying attention to the DB directory copy files to your MYSQL the DATA directory and then if we have to change database connection on the package com.asent.bean modify hibernate.cfg.xml file on the list,
    2023-07-14 18:40:09下载
    积分:1
  • Raw Socket use of a simple chat program. through this process Ethernet packets t...
    利用Raw Socket实现的一个简单的聊天程序,可以通过这个程序加深对以太网封包概念的理解-Raw Socket use of a simple chat program. through this process Ethernet packets to deepen understanding of the concept of
    2022-02-26 01:05:20下载
    积分:1
  • The Site Builder is very easy to use, open source free tools, rich plug
    非常好用的建站软件,开源免费的工具,丰富的插件-The Site Builder is very easy to use, open source free tools, rich plug-ins
    2022-02-14 09:21:18下载
    积分:1
  • 实现了客户端和服务器的 小型socket聊天软件
    实现了客户端和服务器的 小型socket聊天软件-Realize the client and server socket small chat software
    2022-03-04 17:41:44下载
    积分:1
  • 696516资源总数
  • 106457会员总数
  • 15今日下载