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
Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Méthodes publiques

Méthode Description
Incoming ( TransportAddress ta ) : bool
RestrictedConeNat ( TransportAddress ta, int timeout ) : System.Collections

Method Details

Incoming() public méthode

public Incoming ( TransportAddress ta ) : bool
ta Brunet.Transport.TransportAddress
Résultat bool

RestrictedConeNat() public méthode

public RestrictedConeNat ( TransportAddress ta, int timeout ) : System.Collections
ta Brunet.Transport.TransportAddress
timeout int
Résultat System.Collections