Results 1 to 3 of 3

Thread: How 1 or Many ports on a Application

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2006
    Posts
    58

    How 1 or Many ports on a Application

    Hi Everyone!
    I wanted to get an opinion from everyone on when building a small to large applications that is in one self contained binary is there any benifit to useing multiple ports instead of just one port?

    For instance if I where to build a application that allows you to Chat and Send files would there be any real good reason on why i shouldnt do it all on the same TCP port if I can handle it being a File or a Text message on the Session layer 5 level, I'm thinking just requiring more ports open will just make configuring a Firewall more annoying but is there a software limition on a single port I may not be aware of?
    Thanks,
    -Agent

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How 1 or Many ports on a Application

    Consider the fact that web servers, even extremely high volume web servers, send and receive all their traffic on port 80. That's a pretty good indication that you should use just one port.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2006
    Posts
    58

    Re: How 1 or Many ports on a Application

    Fair enough. I figured that was the case.
    Thanks,
    -Agent

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width