C# Class STUN.XorMappedAddressAttribute

Inheritance: STUNAttribute
Afficher le fichier Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Méthodes publiques

Méthode Description
CreateXorMappedAddress ( Byte TransactionID, String IpAddress, UInt16 Port ) : XorMappedAddressAttribute
ParseXorMappedAddress ( UInt16 att_length, Byte att_value_with_padding, Byte trans_id ) : void

Private Methods

Méthode Description
XorMappedAddressToByteArray ( Byte transactionID ) : Byte[]

Method Details

CreateXorMappedAddress() public static méthode

public static CreateXorMappedAddress ( Byte TransactionID, String IpAddress, UInt16 Port ) : XorMappedAddressAttribute
TransactionID Byte
IpAddress String
Port System.UInt16
Résultat XorMappedAddressAttribute

ParseXorMappedAddress() public méthode

public ParseXorMappedAddress ( UInt16 att_length, Byte att_value_with_padding, Byte trans_id ) : void
att_length System.UInt16
att_value_with_padding Byte
trans_id Byte
Résultat void