예제 #1
0
        public MainWindow()
        {
            _logger = new Logger("FakeTenhouServer", 100);
            _logger.Log("Starting");

            _server = StartServer();

            UpdateStatus();

            InitializeComponent();
        }
예제 #2
0
 private Server StartServer()
 {
     var server = new Server(PrefixLocalhost.Yield().ToArray(), Listener, _logger);
     server.Run();
     return server;
 }