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.GetSocketsManager().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, "]" })); } } }
private new void Dispose(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.Buffer, 0, this.Buffer.Length); this.Buffer = null; this.asyncCallback_0 = null; this.gdelegate0_0 = null; GoldTree.GetSocketsManager().method_6(this.Id); AntiDDosSystem.FreeConnection(this.Address); if (GoldTree.GetConfig().data["emu.messages.connections"] == "1") { Console.WriteLine(string.Concat(new object[] { ">> Connection Dropped [", this.Id, "] from [", this.Address, "]" })); } } }