Skip to content

Commit

Permalink
Test generator
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBleijendaal committed Jul 23, 2016
1 parent 6fe3a6b commit 9e24bb9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions CSharp/Edt_2000_OSCGenerator/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using SharpOSC;

namespace Edt_2000_OSCGenerator
{
class Program
{
static void Main(string[] args)
{
UDPSender sender = new UDPSender("10.0.0.200", 12345);
int messages = 0;

while(true)
{
Console.WriteLine("Message send!");

OscMessage message = new OscMessage("/Test", 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, ++messages);

sender.Send(message);
}
}
}
}

0 comments on commit 9e24bb9

Please sign in to comment.