I’m trying to send OSC commands via UDP protocol from a program written in C# using VisualStudio Windows App Form. The send code when a button is pressed is:
string IP = “127.0.0.1″;
int port = 6666;
byte[] packetData = System.Text.ASCIIEncoding.ASCII.GetBytes(“/presetnext”);
IPEndPoint ep = new IPEndPoint(IPAddress.Parse(IP), port);
Socket client = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
client.SendTo(packetData, ep);
However VPT isn’t detecting any OSC commands when OSC IN is being
monitored. Any ideas to make this work? Any reply is greatly
appreciated!