Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Ip.cpp
Package: PPP0208.rar [view]
Upload User: karykuang
Upload Date: 2010-02-26
Package Size: 103k
Code Size: 2k
Category:
TCP/IP Stack
Development Platform:
Visual C++
- // 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()
- {
- }