bool StartServer(BaseServer server) { bool failed = false; Console.WriteLine("STARTING {0} on port {1}", server, server.Port); if (server.Start()) { Console.WriteLine("Started server: {0} on port {1}", server, server.Port); server.OnCrash += server_OnCrash; } else { Console.WriteLine("FAILED server: {0} on port {1}", server, server.Port); failed = true; } return failed; }