예제 #1
0
        static void Main(string[] args)
        {
            ChatServe chatServe = ChatServe.Instance;

            chatServe.StartCreate("127.0.0.1", 8895);
            while (true)
            {
                chatServe.Update();
            }
        }
예제 #2
0
        static void Main(string[] args)
        {
            ChatServe chatServe = ChatServe.Instance;
            string    qq        = Console.ReadLine();

            chatServe.StartCreate(qq, 8895);
            while (true)
            {
                chatServe.Update();
            }
        }