C# Class NetworkPackets.IcmpPacket

Internet Control Message Packets (Ping)
Inheritance: DataPacket
ファイルを表示 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_oe property

public byte Code
return byte

Data public_oe property

public MemBlock Data
return MemBlock

Identifier public_oe property

public short Identifier
return short

SequenceNumber public_oe property

public short SequenceNumber
return short

Type public_oe property

public Types Type
return Types