void ClientDisconnected(object sender, ClientEventArgs e) { if (RemoveClientManager(e.IP)) { UpdateConsole("Disconnected.", e.IP, e.Port); } }
/// <summary> /// Occurs when a client disconnected from this server. /// </summary> /// <param name="e">Client information.</param> protected virtual void OnDisconnected(ClientEventArgs e) { if (Disconnected != null) Disconnected(this, e); }