C# Class STUN.MappedAddressAttribute

Inheritance: STUNAttribute
Show file Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Public Methods

Method Description
CreateMappedAddress ( String IpAddress, UInt16 Port ) : MappedAddressAttribute
ParseMappedAddress ( UInt16 att_length, Byte att_value_with_padding ) : void

Private Methods

Method Description
MappedAddressToByteArray ( ) : Byte[]

Method Details

CreateMappedAddress() public static method

public static CreateMappedAddress ( String IpAddress, UInt16 Port ) : MappedAddressAttribute
IpAddress String
Port System.UInt16
return MappedAddressAttribute

ParseMappedAddress() public method

public ParseMappedAddress ( UInt16 att_length, Byte att_value_with_padding ) : void
att_length System.UInt16
att_value_with_padding Byte
return void