예제 #1
0
        private static void Start(params string[] args)
        {
            foreach (var arg in args)
            {
                if (arg.StartsWith("-enableconsole"))
                    ConsoleManager.Start();
            }

            Proxy = new ServerProxy("127.0.0.1");
            Proxy.Start();

            Update();
        }
예제 #2
0
        public static void Start()
        {
            Util.Log("=============TCP START=============");

            server = new ServerProxy();
            server.Start();


            InitClient(1);

            RegisterCommond();

            //Thread.Sleep(2000);
            //Shutdown();
        }