示例#1
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);
 }