IPCSocket in a web app

I am trying to get a web app to communicate with another app through IPCSocket.

I have adapted the IPCSocketExample project to WE, but could not add the IPCSocket directly to the webpage. Instead, I have created a class with super IPCSocket and placed an instance on the WebPage. Events are attached to the parent class.

When I try to connect the instance of IPCSocket, the Error event of the parent class fires with error 0.

Am I missing something ?

Thank you in advance for any pointer.

Do both web apps have read/write access to the path you specify?

Duh. I had forgotten to set the IPCSocket path. Now it works fine :slight_smile:

IPC is an interesting beast for web apps…