static void Main(string[] args) { Console.Title = "ArcticEmu | AuthServer."; LogManager.Configuration = LoggerUtils.GetConfig(); _logger.Warn("Starting up ArcticEmu.Auth.."); using (var server = new Server <ClientHandler>(new IPEndPoint(IPAddress.Any, 55999))) { server.StartAccepting(); while (_isRunning) { switch (Console.ReadLine()) { case "quit": _isRunning = false; server.Dispose(); break; } } } }