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

  • Home
  • SEARCH
  • 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 105427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:26:15+00:00 2026-05-11T01:26:15+00:00

I have three applications that talk to each other using sockets. They can all

  • 0

I have three applications that talk to each other using sockets. They can all live on their own machines but they can also share a machine. Right now I’m having two of them on the same and the third on its own machine. I’m trying to make my communication bullet proof so I unplug cables and kill the applications to make sure everything works as intended.

Here’s a quick sketch of the thing:

alt text

Now, when I unplug the network cable to PC2 (the red connection ‘Con B’), the internal connection stops talking (the blue connection ‘Con A’). I send stuff from ‘App 1’ on the socket that never gets to ‘App 2’.

I have made a mechanism that discovers this and disconnects and then reconnects and after that I can unplug the cable all I want and ‘Con A’ just keeps working. It’s only that first time.

I have confirmed having communication through ‘Con A’ before disconnecting ‘Con B’.
I connect and reconnect exactly the same way, it’s the same code, so there’s no difference.

What’s happening?

Additional information trigged by answers: PC 1 and PC 2 share addresses down to the last byte.
I have an internal keep alive mechanism, I send a message and expect a response every 10 seconds.
When I kill App 3, this does not happen, only when unplugging the cable.

  • 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. 2026-05-11T01:26:16+00:00Added an answer on May 11, 2026 at 1:26 am

    What address are you using for ‘Con A’? If you are using an address that is bound to the external network adapter, even though you’re talking to the same machine, then what you describe could happen.

    What you can do is use the address localhost (127.0.0.1) for ‘Con A’, which should be completely independent of what happens on the external network.

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

Sidebar

Ask A Question

Stats

  • Questions 62k
  • Answers 62k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer I have an MSBuild Target that builds my documentation in… May 11, 2026 at 9:59 am
  • added an answer WIN32 is a name that you could use and even… May 11, 2026 at 9:59 am
  • added an answer Doesn't appear so: You can not change anything in your… May 11, 2026 at 9:59 am

Related Questions

I have three applications that talk to each other using sockets. They can all
I have a project where there are multiple applications that have some common configuration
I have a Java swing application with a panel that contains three JComboBoxe s
I have an application that was developed for Linux x86 32 bits. There are
I have a console application that contains quite a lot of threads. There are
I have a Flex application that seems larger than it should be. There is
Is there a way to Minimize an external application that I don't have control
I have a three-tier application which is installed in corporate environments. With every server
I have heard of desktop applications whose code has been open-sourced, but are there
I have a tree representation of pages in a CMS application. I understand how

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.