Exemple #1
0
 public ReliableUdpEngine(IPv6UdpClient class164_0, int int_2, IAgileLogger iagileLogger_0, Interface18 interface18_0, string string_1)
 {
     this.object_0           = 0;
     this.emptyAgileLogger_0 = new EmptyAgileLogger();
     this.int_0 = 0x100000;
     this.int_1 = 100;
     this.eventSafeTrigger_0     = new EventSafeTrigger(new EmptyAgileLogger(), "NP0TGVBgJ9QwLAhYTKW.XpFDH2BqcL8UtxuLtNZ");
     this.safeDictionary_0       = new SafeDictionary <IPEndPoint, Class116>();
     this.safeDictionary_1       = new SafeDictionary <IPEndPoint, Class100>();
     this.string_0               = "";
     this.string_0               = string_1;
     this.object_1               = class164_0;
     this.object_1.DataReceived += new CbGeneric <IPEndPoint, byte[]>(this.udpClient_DataReceived);
     this.object_1.Initialize();
     this.int_0 = int_2;
     this.int_1 = this.int_0 / 500;
     this.emptyAgileLogger_0             = iagileLogger_0 ?? new EmptyAgileLogger();
     this.eventSafeTrigger_0.AgileLogger = this.emptyAgileLogger_0;
     this.class32_0 = interface18_0 ?? new Class32();
     this.class32_0.SynAckReceived          += new CbGeneric <IPEndPoint, string>(this.method_7);
     this.class32_0.FeedbackVacancyReceived += new CbGeneric <IPEndPoint, FeedbackVacancyBody>(this.method_6);
     this.class32_0.ExitReceived            += new CbGeneric <IPEndPoint>(this.method_2);
     this.class32_0.PMTUTestAckReceived     += new CbGeneric <IPEndPoint, string, ushort>(this.method_1);
     new CbGeneric(this.CircleQuickly).BeginInvoke(null, null);
     new CbGeneric(this.CircleQuickly2).BeginInvoke(null, null);
 }
Exemple #2
0
 public void method_0(IPv6UdpClient class164_0, bool bool_3, Interface18 interface18_0, string string_2)
 {
     this.bool_1 = bool_3;
     class164_0.SetAgileLogger(this.emptyAgileLogger_0);
     class164_0.HandleExcetion += new CbGeneric <Exception>(this.OnException);
     class164_0.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendBuffer, this.int_1);
     class164_0.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveBuffer, this.int_2);
     class164_0.IOControl(-1744830452, new byte[] { Convert.ToByte(false) }, null);
     this.int_0 = class164_0.method_2();
     if (!this.bool_0)
     {
         this.string_1 = class164_0.GetIPAddress().ToString();
     }
     if (this.bool_1)
     {
         ReliableUdpEngine class2 = new ReliableUdpEngine(class164_0, this.int_3, this.emptyAgileLogger_0, interface18_0, string_2);
         this.object_0 = class2;
     }
     else
     {
         class164_0.Initialize();
         this.object_0 = class164_0;
     }
     this.interface44_0          = Class128.smethod_0(this.enum6_0, this.interface8_0, this.int_3, this.string_0);
     this.object_0.DataReceived += new CbGeneric <IPEndPoint, byte[]>(this.udpClient_DataReceived);
 }
Exemple #3
0
 private void method_6()
 {
     this.class164_0 = new IPv6UdpClient(0);
     this.class164_0.DataReceived += new CbGeneric <IPEndPoint, byte[]>(this.method_10);
     this.class164_0.Initialize();
     byte[] bytes = BitConverter.GetBytes(0x1e240);
     for (int i = 0; i < 3; i++)
     {
         this.class164_0.Send(bytes, this.agileIPE_0.IPEndPoint_0);
         Thread.Sleep(10);
     }
 }
Exemple #4
0
 public void Initialize(int udpPort)
 {
     this.class164_0 = new IPv6UdpClient(udpPort);
     this.class164_0.DataReceived += new CbGeneric <IPEndPoint, byte[]>(this.method_0);
     this.class164_0.Initialize();
 }
Exemple #5
0
 public ReliableUdpEngine(IPv6UdpClient class164_0, int int_2, IAgileLogger iagileLogger_0, Interface18 interface18_0) : this(class164_0, int_2, iagileLogger_0, interface18_0, "")
 {
 }