Example #1
0
 static void Main(string[] argv)
 {
     MyClient c = new MyClient();
       try {
     c.LinkCreate(argv);
     c.SendSTART();
     c.SendEND_AND_WAIT("HLWO", 5);
     Console.WriteLine(c.ReadC());
       } catch (Exception ex) {
     c.ErrorSet (ex);
       }
       c.Exit();
 }
Example #2
0
        static void Main(string[] argv)
        {
            MyClient c = new MyClient();

            try {
                c.LinkCreate(argv);
                c.SendSTART();
                c.SendEND_AND_WAIT("HLWO", 5);
                Console.WriteLine(c.ReadC());
            } catch (Exception ex) {
                c.ErrorSet(ex);
            }
            c.Exit();
        }