public static void pitch(string _ip) { Client.Client cl = new Client.Client(_ip, 5255, "jak", "kaj"); cl.Connect(); TestClass tcl1 = new TestClass(true); tcl1.b = new double[] { 666.66, 777.777 }; tcl1.inrr = new Innerer(true); tcl1.a = 871; tcl1.dsa._asd = "merge"; List <ClassElement> al = new List <ClassElement> (); ClassParser cp = new ClassParser(); cp.Traverse(tcl1, "gigel"); al = cp.ListOfFields; cl.List = al; bool b = cl.Send(); if (!b) { Console.WriteLine("Nope"); } }
public void SendMessage(string message) { client.Send(message); }
private void Send(object sender, EventArgs e) { client.Send(Input.Text); }