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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:14:13+00:00 2026-05-23T08:14:13+00:00

We have client-server application where all clients also talk to each other via TCP

  • 0

We have client-server application where all clients also talk to each other via TCP (TcpClient + TcpListener on each client)

So, when client A does something – it sends message to clients B, C and D and then waits for response. This get’s kind of slow with many clients (like 20 now) Especially when clien B dies – client A waits for until times out.

Is there any better way maybe broadcast package to everyone at the same time? I know everybody’s host names, etc.

I just need to send message and know if they did/didn’t receive it successfully.

What my options are?

  • 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-23T08:14:14+00:00Added an answer on May 23, 2026 at 8:14 am

    I suggest to completely switch off the strategy and use some message bus that does this in a reliable and performance tuned way. I’m happy with ActiveMQ, that even if it is implemented in Java works in C# very easily. If you want something pure .NET take a look at NServiceBus or Rhino Service bus. I know that you probably feel the task of dispatching message between client is easy and you can do it yourself, if you want to do reliable in production is better if you leverage the someone else effort and relax yourself. It will be very frustrating trying to solve communications bugs when the app run at the customer site. Ignore this if you are writing a competitor message bus, of course 🙂
    All these solutions allow you to have the Job done by just the effort of reading the documentation. Do some test app “in vitro” before going to replace the production code just to gain the necessary confidence, and then replace the hard TcpClient. I’m quite sure you can find a truncate point to insulate just the message datagrams where place the new strategy on.

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

Sidebar

Related Questions

I have a client-server application, which intercommunicate via WCF. They also both use Castle
I have a client/server application that communicates with .Net remoting. I need my clients
I have a client server application that sends XML over TCP/IP from client to
I have a client-server application that uses .net remoting. The clients are in a
I have a client/server application. One of the clients is a CLI. The CLI
We have a client/server application with a rich client front end (in .Net) and
I have a client-server application written in Java using CORBA for the communication. The
I have a Client/Server application, where the Client and Server have some common tables
I have a client server application in which the server and the client need
I have a client - server application, where I want to add a exception

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.