ip.cpp

来自「使用VC++开发的很棒的上网拨号工具的程序的源码,可以选择PING,UDP,TC」· C++ 代码 · 共 82 行

CPP
82
字号
// ICMP_HEADER.cpp: implementation of the ICMP_HEADER class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "demo.h"
#include "IP.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

ICMP_HEADER::ICMP_HEADER()
{
	sequence=0x0000;
}

ICMP_HEADER::~ICMP_HEADER()
{

}

//////////////////////////////////////////////////////////////////////
// PPP_OPTION Class
//////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

PPP_OPTION::PPP_OPTION()
{

}

PPP_OPTION::~PPP_OPTION()
{

}

//////////////////////////////////////////////////////////////////////
// IP_HEADER Class
//////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

IP_HEADER::IP_HEADER()
{
	Identification=0x0000;
}

IP_HEADER::~IP_HEADER()
{

}

//////////////////////////////////////////////////////////////////////
// PPP_UDP Class
//////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

PPP_UDP::PPP_UDP()
{

}

PPP_UDP::~PPP_UDP()
{

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?