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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:41:21+00:00 2026-05-27T06:41:21+00:00

I’ve come here with quite philosophical problem: suppose we have two identical application, with

  • 0

I’ve come here with quite philosophical problem:

suppose we have two identical application, with similar range of settings.
and we’d like these application can communicate via sockets.

As far as I know in point-to-point application one of them should be active(client) and passiv(server) i.e. client do “connect” and the server should be in state of “accept”. This lead us to necessity to know who is active and who isn’t before we run them.

As I’ve previously mentioned I want make this application identical. And let two identical application can be connected throw net, making somehow smart decisions Who is Who.

This question is considered due to the fact that I want each new application can be connected to the net of other applications with just knowing ip adress of one of them.

Disclaimer: It’s not a malware. It’s a transport layer of ERP system.

I would be very pleased for any ideas, link etc.

  • 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-05-27T06:41:22+00:00Added an answer on May 27, 2026 at 6:41 am

    Options:

    • Designate one app to always be the server. It starts up listening on some port, and the other app when it starts up, will try to connect to the server repeatedly until it is successful.
    • Have both act as both a server and a client. App on one host starts up and tries to connect to the other host, and if it can’t then it starts up a server listening for a connection from the other host. The app on the other host does the same. Should add in retries to avoid race conditions.
    • Have them each act as clients and connect to a third server. They then communicate through that server, or that server tells them how to communicate with one another (the server might for example tell one app to be a server, and tells the other app to be a client).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
this is what i have right now Drawing an RSS feed into the php,
I've got a string that has curly quotes in it. I'd like to replace
Specifically, suppose I start with the string string =hello \'i am \' me And
I have a French site that I want to parse, but am running into

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.