Пример #1
0
        /// <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);
            }
        }
Пример #2
0
		/// <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);
			}
		}