登录
首页 » Windows Socket编程 » 本程序只对一个IP地址进行,如果要对一段IP进行测试,简单修改程序即可。可将发送放在单独的进程 里(使用fork()),send_icmp里做成循环,每次重新初...

本程序只对一个IP地址进行,如果要对一段IP进行测试,简单修改程序即可。可将发送放在单独的进程 里(使用fork()),send_icmp里做成循环,每次重新初...

于 2023-06-22 发布 文件大小:2.06 kB
0 86
下载积分: 2 下载次数: 1

代码说明:

本程序只对一个IP地址进行,如果要对一段IP进行测试,简单修改程序即可。可将发送放在单独的进程 里(使用fork()),send_icmp里做成循环,每次重新初始化struct sockaddr_in。那么对接收到的数据 进行分析的proc_icmp()将多一道对IP报头ip->src字段的判断。-this procedure only a pair of IP addresses, IP to a test, a simple change procedures. This can be placed on a separate process (the use of fork ()), causing Lane send_icmp cycle, each re-initialization struct sockaddr_in. Then Butt received the data analysis proc_icmp () will more than one pair of IP header ip-gt; Src field judgment.

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

发表评论

0 个回复

  • This document is for the use of network programming, which there are many exampl...
    本文件是供网络编程使用,里面还有许多实例。供初学者使用-This document is for the use of network programming, which there are many examples. For beginners to use
    2023-08-14 03:15:03下载
    积分:1
  • xml做的通讯录,可以实联人的添加,删除等功能。
    xml做的通讯录,可以实联人的添加,删除等功能。-xml do correspondence, it is the conjunction add, delete function.
    2022-03-06 12:59:05下载
    积分:1
  • osip 库文件,1 首先下载josua
    osip 库文件,1 首先下载josua-0.9.2.tar.gz(http://osip.atosc.org/download/deprecated/)和libosip-0.9.2.tar.gz(); 2 将两个文件分别解压缩到/josua文件夹和 bosip文件夹,需要注意解压缩的时候要使用winzip,winrar解压缩会有问题; 3 打开VC++6.0,在文件菜单中打开~ bosip/windows/osipfsm.dsw,(注意:没有先打开VC++,直接打开~ bosip/windows/osipfsm.dsw时候出现了问题?); 4 编译的时候要首先编译osipparser files,再编译osipfsm files(注意:直接编译会出现不能打开osipparser.lib的错误提示);编译后则在文件夹~ bosip/windows/.libs下生成osipfsm.dll,osipfsm.lib和osipparser.dll,osipparser.lib四个库文件; -osip the document, Download josua a first-0.9.2.tar.gz (http :// osip.atosc.org/download/deprecated /) and l ibosip- 0.9.2.tar.gz (
    2022-03-10 23:04:22下载
    积分:1
  • 自动获得本地地址发送到
    一个自动获得本地IP地址后发送到远程DNS服务器中!自动更新本地IP地址- After automatically obtains the local IP address to transmit to the long-distance DNS server in! Automatic renewal local IP address
    2022-08-02 10:54:30下载
    积分:1
  • HIT curriculum design of computer networks based on LAN sniffer SharpCapture
    哈工大 计算机网络 课程设计 局域网嗅探器 基于SharpCapture-HIT curriculum design of computer networks based on LAN sniffer SharpCapture
    2022-07-05 14:19:27下载
    积分:1
  • 用EVC
    用EVC编写的一款基于TCP协议的实例代码,包括完整的Client和Server-prepared with the EVC-based TCP code examples, including the integrity of the Client and Server
    2022-04-21 07:00:53下载
    积分:1
  • 使用CSocket建立ftp客户端,通过TCP连接进行文件传输
    使用CSocket建立ftp客户端,通过TCP连接进行文件传输-Use CSocket to establish ftp client, through the TCP connection file transfer
    2022-02-24 20:22:41下载
    积分:1
  • 移动设备与PC之间的文件传输可以加快了 赶快来下吧 真正的绿色小工具...
    移动设备与PC之间的文件传输可以加快了 赶快来下吧 真正的绿色小工具-Between mobile devices and PC file transfer can be speeded up under the bar as soon as possible to the real green gadget
    2022-03-20 16:09:15下载
    积分:1
  • 基于UDP MFC环境
    UDP MFC 包含服务器和客户端,  本实验设计内容是:设计一个程序,实现聊天功能,要求有客户端和服务器端。客户端能实现消息的输入和发送、接收消息、连接服务器与断开连接等基本功能;服务器端要求能收发信息、保存客户端的IP信息地址、将接收到的消息向所有客户端转发等基本信息。
    2022-11-27 05:40:03下载
    积分:1
  • 利用WinPcap TCP报当地把文本文件(下载winpca…
    使用winpcap将tcp报文dump到本地文件(需要下载winpcap库)-use winpcap to tcp reported to the local dump the text document (download winpcap Treasurer)
    2023-03-16 07:15:03下载
    积分:1
  • 696518资源总数
  • 105562会员总数
  • 1今日下载