In the process of developing an app, I am faced with the challenge of passing messages between a C++ application and a Javascript web app.
While I have experience writing sockets code in both languages when required, I am now looking for a higher-level message posting or message queueing API that can simplify the process for me. Does anyone know of such an API?
I have explored options like ICE, but it lacks Javascript bindings. Similarly, Boost message queue only supports C++. If needed, I am willing to create my own Javascript bindings for these technologies.
UPDATE: I forgot to mention earlier that I intend to run this in a browser.
To elaborate on my requirements, I need a user-friendly browser-based application for configuring and displaying logging for a C++ program.
Although there are alternative methods available, my focus is on finding a high-level library that creates a message queue using the sockets API in both C++ and Javascript for browsers.
ALSO: The cross-browser compatibility is not a major concern for me. For instance, if there is a high-level IPC Javascript library exclusive to Chrome, I am willing to work with that restriction.