Exemplo n.º 1
0
        public Program(int port)
        {
            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("[서버 구동 시작]");
            db_con.Connect(); // DB 연결

            func.InitIndex();

            server = new BitServer(this, port); // ip, port
            server.ServerRun();                 // 서버구동
        }