Beispiel #1
0
 internal void ExternalAddressDetected(IPAddress iPAddress)
 {
     if(!ExternalEndpoint.Address.IsRoutable(AllowLocalPeers) && iPAddress.IsRoutable(AllowLocalPeers))
     {
         NodeServerTrace.Information("New externalAddress detected " + iPAddress);
         ExternalEndpoint = new IPEndPoint(iPAddress, ExternalEndpoint.Port);
     }
 }