C# 클래스 Mono.Nat.NatUtility

파일 보기 프로젝트 열기: nterry/Mono.Nat 1 사용 예제들

공개 메소드들

메소드 설명
DirectMap ( IPAddress gatewayAddress, MapperType type ) : void
Handle ( IPAddress localAddress, byte response, IPEndPoint endpoint, NatProtocol protocol ) : void
IsPrivateAddressSpace ( IPAddress address ) : bool
StartDiscovery ( ) : void
StopDiscovery ( ) : void

비공개 메소드들

메소드 설명
GetLocalAddresses ( bool includeIPv6 ) : System.Net.IPAddress[]
Log ( string format ) : void
NatUtility ( ) : System
Receive ( IMapper mapper, List clients ) : void
Receive ( ISearcher searcher, List clients ) : void
SearchAndListen ( ) : void

메소드 상세

DirectMap() 공개 정적인 메소드

public static DirectMap ( IPAddress gatewayAddress, MapperType type ) : void
gatewayAddress System.Net.IPAddress
type MapperType
리턴 void

Handle() 공개 정적인 메소드

public static Handle ( IPAddress localAddress, byte response, IPEndPoint endpoint, NatProtocol protocol ) : void
localAddress System.Net.IPAddress
response byte
endpoint System.Net.IPEndPoint
protocol NatProtocol
리턴 void

IsPrivateAddressSpace() 공개 정적인 메소드

public static IsPrivateAddressSpace ( IPAddress address ) : bool
address System.Net.IPAddress
리턴 bool

StartDiscovery() 공개 정적인 메소드

public static StartDiscovery ( ) : void
리턴 void

StopDiscovery() 공개 정적인 메소드

public static StopDiscovery ( ) : void
리턴 void