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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:12:10+00:00 2026-05-20T11:12:10+00:00

I’d like to allow a group of processes to be able to communicate with

  • 0

I’d like to allow a group of processes to be able to communicate with each other. The processes can come-and-go and there is no obvious “main” or “server” process and so the processes really need to be able to communicate in a completely peer-to-peer basis.

I understand interprocess communication and the different communication methods (TCP, named pipes etc…) but I don’t really understand how a peer-to-peer cluster works, in particular how each client efficiently determines the list of other clients.

Is there a way of achieving this in .Net using existing technology? (e.g. WPF)

Failing that, where should I look for information on peer-to-peer communication protocols?

  • 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-20T11:12:11+00:00Added an answer on May 20, 2026 at 11:12 am

    A study of the BitTorrent protocol for distributed peer-to-peer coordination would probably be a good place to start: http://www.bittorrent.org/beps/bep_0003.html

    Other systems to investigate might be the Tor distributed anonymity network, and the Windows Internet Name Service (WINS). These all involve peer discovery and coordination to some degree.

    Probably the trickiest part of setting up a P2P cluster is figuring out a reliable way for a new peer to discover the peer cluster. Using a predefined TCP port number would be a start, but falls apart when that port is already in use by some other process. You could use a UDP broadcast to find out if any peers are out there, but that won’t make it across your first router hop since routers normally filter broadcasts to prevent broadcast propagation storms. You could use a centralized tracker/dispatcher, but that becomes a single point of failure for the entire peer cluster.

    Network topology will also affect your discovery approach. If all the peers will be within the same network segment, or behind the same firewall, you can do just about anything. If some of the peers are behind a firewall, though, you can’t initiate a connection to them through the firewall – they have to initiate a connection to you, or open an incoming port in the firewall using UPNP.

    Discovery is the weakest part of the BitTorrent system. Unless the user knows what torrent directory or tracker URL to use, the torrent client is useless. Once you find a node, any node, in a peer cluster, finding the rest of the members of the cluster is relatively simple.

    If your collection of processes all reside on the same physical machine, you could use something like a message queue service to act as a third party arbiter between transient processes. Otherwise, you’re probably looking at having one of the processes in the peer group take a leadership position to answer discovery requests and distribute the peer list to others. When the lead process needs to go, it can hand off the lead to one of the other peers, or the peers can fail over to a new lead process using the distributed peer list. That’s essentially what the Windows Name Service (WINS) does for NetBios name discovery.

    • 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
I know there's a lot of other questions out there that deal with this
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
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
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
I've got a string that has curly quotes in it. I'd like to replace
I would like to run a str_replace or preg_replace which looks for certain words

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.