Location:
Search - C winsock ping
Search list
Description: 该程序在 Windows 2000 Pro+SP4 下编译调试通过(Visual C++ 6.0 IDE环境)。
需要Winsock2支持。
1.该程序采用了winsock的原始套接字编程,实现了基本的Ping功能,使用方法:ping host,默认连续发送4个回显请求。
2.该程序中对ICMP首部的定义采用了非标准形式。即将选项数据中保存时间戳的头4个字节也定义为ICMP首部的一部分,这样ICMP首部就被定义为12个字节。这样主要做主要是为了编程的实现与理解上的方便。
3.根据习惯ICMP首部的标示符字段填充了进程ID。
4.该程序实现了在IP首部记录路由的RR功能,最多记录9个地址。
要实现的功能参数:
1.n 参数 设定发送回显请求的数量
2.l 参数 设定选项数据的填充字节数
3.t 参数 持续的发送回显请求,直到用户按下Control-C停止
4 w 参数 设定接收超时的时间,以毫秒为单位
参数的具体说明可以参考windows自带的ping程序-the program in Windows 2000 SP4 Pro compiler under through debugging (Visual C 6.0 IDE environment). Winsock2 need support. 1. The procedure adopted protocols of the original socket programming, the basic implementation of Ping function, Use : ping host, the default four consecutive send the request back significantly. 2. The procedure for the first ICMP using the definition of non-standard forms. Upcoming options to preserve the timestamp data for the first four bytes are defined as ICMP first part, the first such ICMP was defined as 12 bytes. This is done primarily to the realization of programming and understanding for it. 3. Under customary ICMP first marker Address field filled with the process ID. 4. The program achieved in the first record of IP routing RR functions, the most record
Platform: |
Size: 14481 |
Author: 赵锐 |
Hits:
Description: 该程序在 Windows 2000 Pro+SP4 下编译调试通过(Visual C++ 6.0 IDE环境)。
需要Winsock2支持。
1.该程序采用了winsock的原始套接字编程,实现了基本的Ping功能,使用方法:ping host,默认连续发送4个回显请求。
2.该程序中对ICMP首部的定义采用了非标准形式。即将选项数据中保存时间戳的头4个字节也定义为ICMP首部的一部分,这样ICMP首部就被定义为12个字节。这样主要做主要是为了编程的实现与理解上的方便。
3.根据习惯ICMP首部的标示符字段填充了进程ID。
4.该程序实现了在IP首部记录路由的RR功能,最多记录9个地址。
Platform: |
Size: 14013 |
Author: 周晓伟 |
Hits:
Description: 该程序在 Windows 2000 Pro+SP4 下编译调试通过(Visual C++ 6.0 IDE环境)。
需要Winsock2支持。
1.该程序采用了winsock的原始套接字编程,实现了基本的Ping功能,使用方法:ping host,默认连续发送4个回显请求。
2.该程序中对ICMP首部的定义采用了非标准形式。即将选项数据中保存时间戳的头4个字节也定义为ICMP首部的一部分,这样ICMP首部就被定义为12个字节。这样主要做主要是为了编程的实现与理解上的方便。
3.根据习惯ICMP首部的标示符字段填充了进程ID。
4.该程序实现了在IP首部记录路由的RR功能,最多记录9个地址。
要实现的功能参数:
1.n 参数 设定发送回显请求的数量
2.l 参数 设定选项数据的填充字节数
3.t 参数 持续的发送回显请求,直到用户按下Control-C停止
4 w 参数 设定接收超时的时间,以毫秒为单位
参数的具体说明可以参考windows自带的ping程序-the program in Windows 2000 SP4 Pro compiler under through debugging (Visual C 6.0 IDE environment). Winsock2 need support. 1. The procedure adopted protocols of the original socket programming, the basic implementation of Ping function, Use : ping host, the default four consecutive send the request back significantly. 2. The procedure for the first ICMP using the definition of non-standard forms. Upcoming options to preserve the timestamp data for the first four bytes are defined as ICMP first part, the first such ICMP was defined as 12 bytes. This is done primarily to the realization of programming and understanding for it. 3. Under customary ICMP first marker Address field filled with the process ID. 4. The program achieved in the first record of IP routing RR functions, the most record
Platform: |
Size: 14336 |
Author: 赵锐 |
Hits:
Description: ping use to winsock using programming.shixian le ping gongneng.
Platform: |
Size: 289792 |
Author: cuiyixin |
Hits:
Description: 该程序在 Windows 2000 Pro+SP4 下编译调试通过(Visual C++ 6.0 IDE环境)。
需要Winsock2支持。
1.该程序采用了winsock的原始套接字编程,实现了基本的Ping功能,使用方法:ping host,默认连续发送4个回显请求。
2.该程序中对ICMP首部的定义采用了非标准形式。即将选项数据中保存时间戳的头4个字节也定义为ICMP首部的一部分,这样ICMP首部就被定义为12个字节。这样主要做主要是为了编程的实现与理解上的方便。
3.根据习惯ICMP首部的标示符字段填充了进程ID。
4.该程序实现了在IP首部记录路由的RR功能,最多记录9个地址。-The program in Windows 2000 Pro+ SP4 adopted under the compiler debugging (Visual C++ 6.0 IDE environment). Winsock2 support needs. 1. The program uses the original socket winsock programming, to achieve the basic Ping function, use: ping host, the default for sending echo request 4. 2. The program of the first definition of ICMP uses non-standard forms. Options data is about to save the first timestamp 4 bytes are also defined as the first part of ICMP, so that the first ICMP was defined as 12 bytes. Mainly do so primarily to the realization and understanding of programming convenience. 3. In accordance with customary ICMP identifier of the first field filled with the process ID. 4. The program achieved the first record in the IP routing RR function, a maximum of nine address records.
Platform: |
Size: 13312 |
Author: 周晓伟 |
Hits:
Description: C 实现 ping程序 图形界面 mfc winsock icmp-C to achieve ping program graphical interface mfc winsock icmp
Platform: |
Size: 31744 |
Author: 贝隆 |
Hits: