Exemplo n.º 1
0
 public override void ZeusNatProbeResult(UdpKit.NatFeatures features)
 {
     natProbeValid = true;
     natFeatures   = features;
     Debug.Log("Nat Probe Result:\nAllowsUnsolicitedTraffic: " + features.AllowsUnsolicitedTraffic +
               "\nLANEndpoint: " + features.LanEndPoint +
               "\nSupportsEndPointPreservation: " + features.SupportsEndPointPreservation +
               "\nSupportsHairpinTranslation: " + features.SupportsHairpinTranslation +
               "\nWanEndPoint: " + features.WanEndPoint);
     natInfoText.text = "<b>NAT Status</b>" +
                        "\nAllows unsolicited traffic: " + colorFeatState(features.AllowsUnsolicitedTraffic) +
                        "\nLAN endpoint: " + features.LanEndPoint +
                        "\nSupports endpoint preservation: " + colorFeatState(features.SupportsEndPointPreservation) +
                        "\nSupports hairpin translation: " + colorFeatState(features.SupportsHairpinTranslation) +
                        "\nWAN endpoint: " + features.WanEndPoint;
 }
Exemplo n.º 2
0
 public override void ZeusNatProbeResult(UdpKit.NatFeatures features)
 {
     natProbeValid = true;
     natFeatures = features;
     Debug.Log("Nat Probe Result:\nAllowsUnsolicitedTraffic: " + features.AllowsUnsolicitedTraffic +
         "\nLANEndpoint: " + features.LanEndPoint +
         "\nSupportsEndPointPreservation: " + features.SupportsEndPointPreservation +
         "\nSupportsHairpinTranslation: " + features.SupportsHairpinTranslation +
         "\nWanEndPoint: " + features.WanEndPoint);
     natInfoText.text = "<b>NAT Status</b>" +
         "\nAllows unsolicited traffic: " + colorFeatState(features.AllowsUnsolicitedTraffic) +
         "\nLAN endpoint: " + features.LanEndPoint +
         "\nSupports endpoint preservation: " + colorFeatState(features.SupportsEndPointPreservation) +
         "\nSupports hairpin translation: " + colorFeatState(features.SupportsHairpinTranslation) +
         "\nWAN endpoint: " + features.WanEndPoint;
 }
Exemplo n.º 3
0
    public override void ZeusNatProbeResult(UdpKit.NatFeatures features)
    {
        base.ZeusNatProbeResult(features);

        App.shared.Log("ZeusNatProbeResult: " + features.ToString(), this);
    }