Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7884729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:52:45+00:00 2026-06-03T04:52:45+00:00

I am working on app where I need to pass messages between a C++

  • 0

I am working on app where I need to pass messages between a C++ application and a Javascript web app.

Certainly I could write sockets code myself in either language and I have done this in the past when necessary.

What I would really like is a higher-level message posting or message queueing API that does a lot of the work for me. Does anyone know of such an API?

I have looked at ICE, and it doesn’t appear to have Javascript bindings. I have also looked at Boost message queue, but it only caters for the C++ side of things. If necessary I might roll my own Javascript bindings for either of these technologies.

UPDATE: Sorry should have mentioned this before, I want to run this in a browser.

To give a more complete story what I want is a simple browser-based app that is used to configure and display logging for a C++ application.

I know there are other ways of doing this, but I am specifically interested in a high-level library in both C++ and browser-based Javascript that builds a message queue ontop of the sockets API (if there isn’t one then I might consider implementing it myself and writing up a code project article).

ALSO: I’m not bothered about portability in terms of the web browser. Eg if there is a high-level IPC Javascript library that only works in Chrome, I’ll be happy with that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:52:46+00:00Added an answer on June 3, 2026 at 4:52 am

    I have found a solution that meets my needs. It isn’t exactly perfect but I think it works well enough.

    Some people suggested using HTTP and ajax. That turned out to be a useful idea and after some prototyping I think it solves my rather basic needs.

    To be more specific I am using the Mongoose HTTP server embedded in my C++ application and I am using the jQuery ajax function to pull data from the server. The jQuery client polls the server continously for new data, not particularly efficient but I think it will do the job good enough for me.

    Once my implementation is complete I’ll write an article explaining how to do this in detail and then I’ll update this answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a web app and I need to get a div to
I'm working as a client-side developer on a web app and found myself having
I'm working on an app where I need to query Google for businesses near
I am working on an app where I need to save a part of
I am working on an app where I need to refer to an intent,
I'm currently working on a Silverlight app and need to convert XML data into
I'm working on a WinForms app and need to record the location of MouseDown
I am working on a silverlight app that you need to enter information into
I am working on a small app where I need to remove the starting
I'm working on a Cocoa Mac app where I need to display a window/view

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.