/// <summary> /// /// </summary> static void Main() { SocketTransmitter st = new SocketTransmitter(8221); int count = 0; while (true) { count++; Console.WriteLine("Test"); st.SendData(Environment.TickCount + " " + "ON"); Thread.Sleep(1000); } }
/// <summary> /// /// </summary> static void Main() { SocketTransmitter st = new SocketTransmitter(8221); int count = 0; while (true) { count++; Console.WriteLine ("Test"); st.SendData(Environment.TickCount + " " + "ON"); Thread.Sleep(1000); } }