C# 클래스 STUN.XorMappedAddressAttribute

상속: STUNAttribute
파일 보기 프로젝트 열기: RELOAD-NET/RELOAD.NET 1 사용 예제들

공개 메소드들

메소드 설명
CreateXorMappedAddress ( Byte TransactionID, String IpAddress, UInt16 Port ) : XorMappedAddressAttribute
ParseXorMappedAddress ( UInt16 att_length, Byte att_value_with_padding, Byte trans_id ) : void

비공개 메소드들

메소드 설명
XorMappedAddressToByteArray ( Byte transactionID ) : Byte[]

메소드 상세

CreateXorMappedAddress() 공개 정적인 메소드

public static CreateXorMappedAddress ( Byte TransactionID, String IpAddress, UInt16 Port ) : XorMappedAddressAttribute
TransactionID Byte
IpAddress String
Port System.UInt16
리턴 XorMappedAddressAttribute

ParseXorMappedAddress() 공개 메소드

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
리턴 void