public void Disconnect(Client c, bool notify = true) { if(notify) c.Send("bye"); Console.WriteLine(c.ToString()); if(this.ClientDisconnect != null) this.ClientDisconnect(c); c.Disconnect(); this.clients.Remove(c); }