C# Class Brunet.Simulator.Transport.RestrictedConeNat

Supports a very simple Cone NAT. Once the node has learned its own address and it has a stable connection to another peer, it allows inbound connections. Incoming messages are allow so long as there is an existing NAT mapping.
Inheritance: ConeNat
ファイルを表示 Open project: pstjuste/brunet Class Usage Examples

Public Methods

Method Description
Incoming ( TransportAddress ta ) : bool
RestrictedConeNat ( TransportAddress ta, int timeout ) : System.Collections

Method Details

Incoming() public method

public Incoming ( TransportAddress ta ) : bool
ta Brunet.Transport.TransportAddress
return bool

RestrictedConeNat() public method

public RestrictedConeNat ( TransportAddress ta, int timeout ) : System.Collections
ta Brunet.Transport.TransportAddress
timeout int
return System.Collections