A complete InterprocessConnection example

I’ve been hunting around on the forum for a complete example showing how to use the juce::InterprocessConnection and InterprocessConnectionServer classes.

after finding a few helpful (but incomplete) examples, I pieced together the following, which is a complete example showing how to launch them, how to configure them, and how to exchange messages between interprocessConnection instances.

I hope someone using the IPC and IPCS stuff finds this helpful!

To use it, create a GUI app in Projucer, then replace main.cpp with the contents of the github gist below:

https://gist.github.com/matkatmusic/cd0bad0ff6f84152339a8788a2f3a311

a complete example project for using the juce::InterprocessConnection and juce::InterprocessConnectionServer classes · GitHub

6 Likes

Very nice work, I like the effort you put into this to make it clear how to handle different message value types .. would be fun to see this developed further into a massive patch sharing network for plugin users. :wink:

1 Like