Example #1
0
        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);
            }
        }