C# Class NetworkPackets.StunPacket.AttributeAddress

An attribute class for those that involve network addresses.
Inheritance: System.Attribute
Afficher le fichier Open project: pstjuste/brunet

Méthodes publiques

Свойство Type Description
Family FamilyType
IP System.Net.IPAddress
Port ushort

Méthodes publiques

Méthode Description
AttributeAddress ( AttributeType type, IPAddress ip, ushort port ) : Brunet.Util

Create an AttributeAddress.

AttributeAddress ( AttributeType type, MemBlock data ) : Brunet.Util

Parse an AttributeAddress.

CreateAddressData ( IPAddress ip, ushort port ) : MemBlock

Method Details

AttributeAddress() public méthode

Create an AttributeAddress.
public AttributeAddress ( AttributeType type, IPAddress ip, ushort port ) : Brunet.Util
type AttributeType
ip System.Net.IPAddress
port ushort
Résultat Brunet.Util

AttributeAddress() public méthode

Parse an AttributeAddress.
public AttributeAddress ( AttributeType type, MemBlock data ) : Brunet.Util
type AttributeType
data Brunet.Util.MemBlock
Résultat Brunet.Util

CreateAddressData() public static méthode

public static CreateAddressData ( IPAddress ip, ushort port ) : MemBlock
ip System.Net.IPAddress
port ushort
Résultat Brunet.Util.MemBlock

Property Details

Family public_oe property

The address family type.
public FamilyType Family
Résultat FamilyType

IP public_oe property

The address associated with the AttributeAddress.
public IPAddress,System.Net IP
Résultat System.Net.IPAddress

Port public_oe property

The port associated with the AttributeAddress.
public ushort Port
Résultat ushort