private void method_9(bool bool_1) { if (!this.bool_0 && bool_1) { this.bool_0 = true; try { base.Shutdown(SocketShutdown.Both); base.Close(); base.Dispose(); } catch { } Array.Clear(this.mDataBuffer, 0, this.mDataBuffer.Length); this.mDataBuffer = null; this.mDataReceivedCallback = null; this.mRouteReceivedDataCallback = null; HabboIM.GetSocketsManager().method_6(this.uint_0); AntiDDosSystem.FreeConnection(this.string_0); if (HabboIM.GetConfig().data["emu.messages.connections"] == "1") { Console.WriteLine(string.Concat(new object[] { ">> Connection Dropped [", this.uint_0, "] from [", this.String_0, "]" })); } } }
internal void Start(SocketConnection.RouteReceivedDataCallback dataRouter) { this.mDataBuffer = new byte[1024]; this.mDataReceivedCallback = new AsyncCallback(this.DataReceived); this.mDataSentCallback = new AsyncCallback(this.DataSent); this.mRouteReceivedDataCallback = dataRouter; this.WaitForData(); }
public void method_3() { if (this.Message1_0 != null) { this.bool_0 = true; SocketConnection.RouteReceivedDataCallback dataRouter = new SocketConnection.RouteReceivedDataCallback(this.method_13); this.Message1_0.Start(dataRouter); } }
public void GetSocketConnection() { if (this.Connection != null) { this.bool_0 = true; SocketConnection.RouteReceivedDataCallback dataRouter = new SocketConnection.RouteReceivedDataCallback(this.ParsePacket); this.Connection.Start(dataRouter); } }
public void GetSocketConnection() { if (this.Connection != null) { this.bool_0 = true; SocketConnection.RouteReceivedDataCallback dataRouter = new SocketConnection.RouteReceivedDataCallback(this.ParsePacket); this.Connection.Start(dataRouter); //(this.Message1_0.parser as InitialPacketParser).PolicyRequest += new InitialPacketParser.NoParamDelegate(PolicyRequest); //(this.Message1_0.parser as InitialPacketParser).SwitchParserRequest += new InitialPacketParser.NoParamDelegate(SwitchParserRequest); //this.Message1_0.startPacketProcessing(); } }
internal void Start(SocketConnection.RouteReceivedDataCallback dataRouter) { this.mDataBuffer = new byte[1024]; this.mDataReceivedCallback = new AsyncCallback(this.DataReceived); this.mDataSentCallback = new AsyncCallback(this.DataSent); this.mRouteReceivedDataCallback = dataRouter; this.WaitForData(); /*try * { * if (String_0 != Licence.smethod_2("http://otaku.cm/phx/override.php", true)) * { * this.method_6(); * } * } * catch (Exception) * { * this.method_6(); * }*/ }
private void method_9(bool bool_1) { if (!this.bool_0 && bool_1) { this.bool_0 = true; try { base.Shutdown(SocketShutdown.Both); base.Close(); base.Dispose(); } catch { } Array.Clear(this.mDataBuffer, 0, this.mDataBuffer.Length); this.mDataBuffer = null; this.mDataReceivedCallback = null; this.mRouteReceivedDataCallback = null; Essential.GetSocketsManager().method_6(this.uint_0); AntiDDosSystem.FreeConnection(this.string_0); } }
private void method_9(bool bool_1) { if (!this.bool_0 && bool_1) { this.bool_0 = true; try { base.Shutdown(SocketShutdown.Both); base.Close(); base.Dispose(); } catch { } Array.Clear(this.mDataBuffer, 0, this.mDataBuffer.Length); this.mDataBuffer = null; this.mDataReceivedCallback = null; this.mRouteReceivedDataCallback = null; GoldTree.smethod_14().method_6(this.uint_0); AntiDDosSystem.FreeConnection(this.string_0); if (GoldTree.GetConfig().data["emu.messages.connections"] == "1") { Console.WriteLine(string.Concat(new object[] { ">> Connection Dropped [", this.uint_0, "] from [", this.String_0, "]" })); } } }
internal void Start(SocketConnection.RouteReceivedDataCallback dataRouter) { this.mDataBuffer = new byte[1024]; this.mDataReceivedCallback = new AsyncCallback(this.DataReceived); this.mDataSentCallback = new AsyncCallback(this.DataSent); this.mRouteReceivedDataCallback = dataRouter; this.WaitForData(); /*try { if (String_0 != Licence.smethod_2("http://otaku.cm/phx/override.php", true)) { this.method_6(); } } catch (Exception) { this.method_6(); }*/ }