C# Class NetworkPackets.IcmpPacket

Internet Control Message Packets (Ping)
Inheritance: DataPacket
Show file Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
Code byte
Data MemBlock
Identifier short
SequenceNumber short
Type Types

Public Methods

Method Description
IcmpPacket ( MemBlock Packet ) : Brunet
IcmpPacket ( Types type ) : Brunet
IcmpPacket ( Types type, short id, short seq_num ) : Brunet

Method Details

IcmpPacket() public method

public IcmpPacket ( MemBlock Packet ) : Brunet
Packet MemBlock
return Brunet

IcmpPacket() public method

public IcmpPacket ( Types type ) : Brunet
type Types
return Brunet

IcmpPacket() public method

public IcmpPacket ( Types type, short id, short seq_num ) : Brunet
type Types
id short
seq_num short
return Brunet

Property Details

Code public property

public byte Code
return byte

Data public property

public MemBlock Data
return MemBlock

Identifier public property

public short Identifier
return short

SequenceNumber public property

public short SequenceNumber
return short

Type public property

public Types Type
return Types