最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
再给大家一个国外的类。超级好的东西。呵呵。
时间:2008-01-12 编辑:简简单单 来源:一聚教程网
/******************************************************************************************************************
* Class: Trace
* Description: Traces path of an ip packet with its respond time
* Author: Sanjay Ahuja
* Date: 5/15/2002
* Copyright? ?2002, Sanjay Ahuja (lparam@hotmail.com). Use it as you want till you leave my name intact
/******************************************************************************************************************/
using System;
using System.Net;
using System.Net.Sockets;
//ICMP constants
struct ICMPConstants
{
public const int ICMP_ECHOREPLY= 0; // Echo reply query
public const int ICMP_TIMEEXCEEDED= 11; // TTL exceeded error
public const int ICMP_ECHOREQ= 8; // Echo request query
public const int MAX_TTL= 256; // Max TTL
}
//ICMP header, size is 8 bytes
* Class: Trace
* Description: Traces path of an ip packet with its respond time
* Author: Sanjay Ahuja
* Date: 5/15/2002
* Copyright? ?2002, Sanjay Ahuja (lparam@hotmail.com). Use it as you want till you leave my name intact
/******************************************************************************************************************/
using System;
using System.Net;
using System.Net.Sockets;
//ICMP constants
struct ICMPConstants
{
public const int ICMP_ECHOREPLY= 0; // Echo reply query
public const int ICMP_TIMEEXCEEDED= 11; // TTL exceeded error
public const int ICMP_ECHOREQ= 8; // Echo request query
public const int MAX_TTL= 256; // Max TTL
}
//ICMP header, size is 8 bytes
相关文章
- Java中Math类常用方法代码详解 07-29
- 阴阳师手游拉条类式神有哪些 07-19
- 烧脑小怪兽illi益智类手游AppStore限免中 07-17
- 查看import的类是出自哪个jar包的方法 07-01
- LED是什么意思 LED有哪些种类 06-30
- 艳阳下的运动精神 体育类手游推荐 06-15