Plugin to application communication?

Does anyone know how to send and receive data between a juce plugin and juce application? Is there an easy class or protocol to make this happen?

What sort of data do you want to send? Can you use OSC? Look at the JUCE module and https://www.youtube.com/watch?v=dl-2hhNUvZQ#t=51m50

Otherwise you could use TCP: https://www.juce.com/doc/classStreamingSocket

1 Like

Also maybe of interest:
https://www.juce.com/doc/classInterprocessConnection

Thank you guys. This is very helpful.
I want to send the DAW timecode & bars/beats string similar to what the juce demo plugin does. I’m going to try OSC.

Would sending/receiving timecode work better in oscMessageReceived or oscBundleReceived?