DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Peer-2-Peer app  (Read 6,485 times)

Codebyte

  • "Premature Optimization is the root of all evil."
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 160
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Plugin Coding Medal
Peer-2-Peer app
« on: February 26, 2008, 03:55 PM »
Alright, so I have been thinking about creating an application that can use a socket to communicate text and files and things... I have been wandering what component to use... I use the new RAD CodeGear C++ Builder... Im not to familiar with networking but all of the applications that I have been developing usually use an additional server application to do anything... Is there a socket (UDP, TCP/IP...etc) that supports these capabilities and which is the best to use? I dont want to run into errors with firewalls or anything either... What kind of work am i getting myself into? Whats the best way to go into this? Any ideas?
CodeByter.com - http://www.codebyter.com

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Peer-2-Peer app
« Reply #1 on: February 26, 2008, 04:13 PM »
You will run into trouble with firewalls/routers, not much to do about it. BitTorrent has shown that TCP is just fine for peer-to-peer stuff, you don't need UDP (many people end up basically implementing TCP ontop of UDP, so don't bother unless you know you need UDP).
- carpe noctem

jazper

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 92
    • Coding Snacks
Re: Peer-2-Peer app
« Reply #2 on: February 26, 2008, 04:30 PM »
Good freeware components outside of CodeGears native VCL socket components or if you want to avoid Winsock API then ICS (http://www.overbyte.be) and if you are willing to pay for commercial components the IP*Works (http://www.nsoftware.com) components are very good as well.


Original address: https://www.donationcoder.com/forum/index.php?topic=12477.0