I'm working on a communication between a plugin and an app, using InterprocessConnection.
I'd expected that
bool connectToPipe (const String &pipeName, int pipeReceiveMessageTimeoutMs=-1)
would return true only if the specified pipe had been created previously, but it always return true, even if trying to connect to an inexistent pipe !
I also tried NamedPipe with
bool openExisting (const String &pipeName)
and it also always return true... I'm on OSX 10.7.5.
is that normal ?
Overall, I just need my app to be aware when a plugin is running in the DAW, so I wanted to create a pipe on the plugin, and the app would know if a plugin is present by checking if there's a pipe created.
Thanks for any hint.