Click or drag to resize

MappedAddressAttribute Class

The MAPPED-ADDRESS attribute indicates a reflexive transport address of the client. It consists of an 8-bit address family and a 16-bit port, followed by a fixed-length value representing the IP address. If the address family is IPv4, the address MUST be 32 bits. If the address family is IPv6, the address MUST be 128 bits. All fields must be in network byte order.
Inheritance Hierarchy
SystemObject
  FM.IceLink.StunAttribute
    FM.IceLink.StunMappedAddressAttribute

Namespace:  FM.IceLink.Stun
Assembly:  FM.IceLink (in FM.IceLink.dll) Version: 3.2.2.607 (3.2.2.607)

The MappedAddressAttribute type exposes the following members.

Constructors
  NameDescription
Public methodMappedAddressAttribute
Initializes a new instance of the MappedAddressAttribute class.
Top
Properties
  NameDescription
Public propertyIPAddress
Gets or sets the IP address.
Public propertyPort
Gets or sets the port.
Public propertyTypeValue
Gets the type value.
(Overrides AttributeTypeValue.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLength
Gets the length of the attribute, including header and padding.
(Inherited from Attribute.)
Public methodGetPaddingLength
Gets the length of the padding.
(Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Protected methodGetValueLength
Gets the length of the value.
(Overrides AttributeGetValueLength.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberReadValueFrom
Initializes a new instance of the MappedAddressAttribute class.
Public methodToString
Returns a string that represents this instance.
(Overrides ObjectToString.)
Protected methodWriteIPAddress
Writes an IP address.
(Inherited from Attribute.)
Protected methodWritePort
Writes a port.
(Inherited from Attribute.)
Public methodWriteTo(DataBuffer, Int32)
Writes the attribute to a data buffer.
(Inherited from Attribute.)
Public methodWriteTo(DataBuffer, Int32, Int32)
Writes the attribute to a data buffer.
(Inherited from Attribute.)
Protected methodWriteValueTo
Writes the value to.
(Overrides AttributeWriteValueTo(DataBuffer, Int32).)
Protected methodWriteXorIPAddress
Writes an XOR'd IP address.
(Inherited from Attribute.)
Protected methodWriteXorPort
Writes an XOR'd port.
(Inherited from Attribute.)
Top
See Also