topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday December 14, 2024, 7:36 am
  • 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 5168 times)

Codebyte

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 160
  • "Premature Optimization is the root of all evil."
    • View Profile
    • CodeByter.com
    • 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?
CodeByter.com - http://www.codebyter.com

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [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

jazper

  • 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 (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.