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(); }
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(); }