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

Otherwise you could use TCP:

1 Like

Also maybe of interest:

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?