avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday October 29, 2020, 9:33 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Peer-2-Peer app  (Read 3960 times)


  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 160
  • "Premature Optimization is the root of all evil."
    • View Profile
    • Donate to Member
Peer-2-Peer app
« on: February 26, 2008, 09:55 AM »
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? -


  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,146
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Peer-2-Peer app
« Reply #1 on: February 26, 2008, 10:13 AM »
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


  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 92
    • View Profile
    • Jazper's Software
    • Donate to Member
Re: Peer-2-Peer app
« Reply #2 on: February 26, 2008, 10:30 AM »
Good freeware components outside of CodeGears native VCL socket components or if you want to avoid Winsock API then ICS ( and if you are willing to pay for commercial components the IP*Works ( components are very good as well.