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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:56:58+00:00 2026-05-23T18:56:58+00:00

I have a certain application running on my computer. The same application can run

  • 0

I have a certain application running on my computer. The same application can run on many computers on a LAN or different places in the world. I want to communicate between them. So I basically want a p2p system. But I will always know which computers(specific IP address) will be peers. I just want peers to have join and leave functionality. The single most important aim will be communication speed and time required. I assume simple UDP multicast (if anything like that exists) between peers will be fastest possible solution. I dont want to retransmit messages even if lost. Should I use an existing p2p library e.g. libjingle,etc. or just create some basic framework from scratch as my needs are pretty basic?

  • 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-23T18:56:58+00:00Added an answer on May 23, 2026 at 6:56 pm

    I think you’re missing the point of UDP. It’s not saving any time in a sense that a message gets faster to the destination, it’s just you’re posting the message and don’t care if it arrives safely to the other side. On WAN – it will probably not arrive on the other side. UDP accross networks is problematic, as it can be thrown out by any router on the way which is tight on bandwidth – there’s no guarantee of delivery for it.

    I wouldn’t suggest using UDP out of the topology under your control.

    As to P2P vs directed sockets – the question is what it is that you need to move around. Do you need bi/multidirectional communication between all the peers, or you’re talking to a single server from all the nodes?

    You mentioned multicast – that would mean that you have some centralized source of data that transmits information and all the rest listen – in this case there’s no benefit for P2P, and multicast, as a UDP protocol, may not work well accross multiple networks. But you can use TCP connections to each of the nodes, and “multicast” on your own, and not through IGMP. You can (and should) use threading and non-blocking sockets if you’re concerned about sending blocking you, and of course you can use the QoS settings to “ask” routers to rush your sockets through.

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

Sidebar

Related Questions

I have a multithreaded application running on Win XP. At a certain stage one
I have certain page-specific js and css files that I either: Don't want running
I have a certain application in MSVC6.0 all C code. I have it as
I have a certain web application that makes upwards of ~100 updates to an
I have one question; In my ASP.NET MVC web application have to do certain
I have a Java application which requires certain software (one of them being Perl)
I have an application which creates objects of a certain kind (let's say, of
I have an application that needs branding when downloaded in certain continents. When installed
I have inherited an application that logs the results of certain daily commands that
We have a web application that gets its data from a certain database. 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.