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 7771253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:36:21+00:00 2026-06-01T16:36:21+00:00

I recently forced to find an IPC protocol that is best for communicate between

  • 0

I recently forced to find an IPC protocol that is best for communicate between java and c++.

I searched the SO for finding best protocol for this, I found socket is the best approach for this, in SO. But I couldn’t find any thing about its cons or pros of sockets! So I want to know pros of this protocol and also I want to know pros of other protocol vs socket to choose best protocol for my application.

It is very likely that my two applications running on a same machine.

Update I should first select my protocol then I can decide run it on which system configuration.

  • 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-01T16:36:23+00:00Added an answer on June 1, 2026 at 4:36 pm

    The best IPC method really depends on what type of communication you have: Message passing, ensuring mutual exclusive execution, sharing data are various IPC, but sockets isn’t the solution for all 3.

    Think about, or provide information what form the information has you want to pass between the applications. Perhaps you find a typical scenario (like producer-consumer problem).

    If you have a message-passing problem, comparable in principle to oldschool TCP services, sockets are a good idea because they are well-tested and easy to debug; They provide full decoupling, yet running locally doesn’t have drawbacks compared to pipes because the kernel can do the blocking of one application (sender or receiver) efficiently.

    Sockets can be UDP, TCP or Unix sockets. In any case you don’t need a network card for local IPC with sockets.

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

Sidebar

Related Questions

Recently i read an article is about prevent brute-force attack. It said that automatically
Recently I was trying some practice programs in python and I came across this
Recently I just got assigned a project to develop a web application/site that uses
Recently I have been learning about WMI and WQL. I found out the list
Recently I've wanted to do a number of things using CSS only to find
We recently were forced to move to a new domain server half-way around the
I have a project that I have recently started working on seriously but had
The company that owns the company that I work for has recently decided unilaterally
I've searched and didn't find an answer yet, I have a legacy VB6 service
Recently WiFi encryption was brute forced by using the parellel processing power of the

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.