-
一个简单的vc下UDP客户端程序,客户端需输入对方IP
一个简单的vc下UDP客户端程序,客户端需输入对方IP-Vc under a simple UDP client program, the client must enter each other
- 2022-03-21 08:01:12下载
- 积分:1
-
一个使用ndis的抓包程序,对ndis感兴趣的可以研究研究
一个使用ndis的抓包程序,对ndis感兴趣的可以研究研究--A catching packet program by using ndis
- 2022-01-20 23:12:34下载
- 积分:1
-
完全用Struts做的用户注册系统一个Jbuilder8工程 StrutsRegister1.0 先建立数据库,导入test.sql 打开Jbuilder8,导
完全用Struts做的用户注册系统一个Jbuilder8工程 StrutsRegister1.0 先建立数据库,导入test.sql 打开Jbuilder8,导入所有的包(在Lib)目录底下 本注册系统只是一个测试,功能不全,但所用的技术全是Struts1.0的 详细情况请参考http://jakarta.apache.org/struts/index.html-Struts done entirely by the user registration system works a Jbuilder8 StrutsRegister1.0 first establish a database into open test.sql Jbuilder8, import all the packets (Lib) Contents Under the registration system is only a test, dysfunction, but the technology used by all Struts1.0 For details, please refer http://jakarta.apache.org/struts/index.html
- 2022-12-26 03:30:03下载
- 积分:1
-
煜辉个人网络主页,是一个很好的个人网络主页,大家可以看下。...
煜辉个人网络主页,是一个很好的个人网络主页,大家可以看下。-Yu-hui personal network Home is a very good network of personal home page, you can glance.
- 2022-03-19 10:02:32下载
- 积分:1
-
6都是窗口平台下的网络编程实例,很多,它是很有意义的..
全部都是VC++6.0平台下的windows网络编程例子,很多,很具有代表性!值得阅读学习!-VC 6.0 all the windows platform network programming examples, many, it is very representative. Worth reading!
- 2022-03-18 02:30:59下载
- 积分:1
-
网络视频
网络视频监控源代码,用VC6.0开发,用很大的参考意义-net video
- 2022-07-23 11:04:57下载
- 积分:1
-
判断IP是否有效
判断IP是否有效-To determine the validity of IP
- 2023-03-26 07:50:03下载
- 积分:1
-
P2P c++ sdk
P2P dll c++ ,
static emReturnType SetAppType(emAppType AppType);//设置程序类型,服务器emAppType_Server或者客户端emAppType_Client
static emReturnType SetClientCallback(IMsgCallback *pMsgCallback);//设置回调类,回调类继承IMsgCallback接口
static emReturnType Startup();//开启网络
static emReturnType Cleanup();//关闭网络
//Server 以下函数是服务器调用
static emReturnType BeginService(unsigned short nPort);//如果是服务器,调用该函数开启服务,nPort:端口号
static emReturnType EndService();//服务器退出的时候,调用该函数关闭服务
//Client 以下函数是客户端调用
static emReturnType Logon(LOGONINFO* pLogonInfo);//函数登录服务器。pLogonInfo:登录信息,详细见P2PHeaderDef.h->LOGONINFO
static emReturnType Logout();//登出服务器
static emReturnType ConnectAnchor(CLIENTINFO* pClientInfo);//连接主播,该函数是用户调用
static emReturnType SendP2PMSG(CLIENTINFO* pClientInfo, char* pszMsg, int nMsgLen);//发送P2P消息,pClientInfo,要发送的客户信息,如果是用户,则pClientI
- 2022-02-03 19:54:38下载
- 积分:1
-
Delphi write access to a subnet mask of the examples for reference only
一个delphi写的获取子网掩码的例子,仅供参考-Delphi write access to a subnet mask of the examples for reference only
- 2022-06-27 06:52: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