First of all, I'm new to juce, and not extremely experienced with programming either. My goal is to use a few different sliders to simply send numbers to Max/msp for the audio processing. I know you can create a UI with Max, but I'm using juce instead. I've looked into DatagramSocket, InterprocessConnection, and piping, but I have no idea which is what I want or how any of them actually work. I don't know how servers or ports or anything work, and haven't been able to find a good tutorial online either. I was wondering if someone might be able to help me out?
I think I'd know how to handle it on the Max side, there is a udpReceive function that takes a port as an argument. I just have no idea how to get the message there. The message just needs to be a number. If there's an easier method that I just don't know about, I'm open to that too.
Here's what I'm doing now:
port2 = new DatagramSocket(7402, true);
int num = 120;
itoa(num, buffer, 10);
const void *vbuffer = (void*)buffer;
In Max I have a udpReceive object listening on port 7402. As you can probably tell I really don't know what I'm doing, thanks for the help!