예제 #1
0
파일: Program.cs 프로젝트: pkarpa/ChatRepo
        static void Main(string[] args)
        {
            Client c   = new Client();
            string str = Console.ReadLine();

            c.connect(str);
            string mess, to;

            for (; ;)
            {
                mess = Console.ReadLine();
                to   = Console.ReadLine();
                c.SendMessage(mess, to);
            }
        }