Article View: borland.public.cppbuilder.internet.socket
Article #1205Re: How to determine what port to use?
From: David Pratt
Date: Wed, 28 Feb 2007 03:24
Date: Wed, 28 Feb 2007 03:24
33 lines
2299 bytes
2299 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:mcp9u2ltre7ltdjcvigv5u26o2uas8i6mq@4ax.com... > David Pratt wrote: > >> I have been researching this for a couple of days, and as the subject >> line >>suggests, am new to network programming. Trying to figure out what the >>parameters/standards on winsock port numbers are, how they are determined >>and what they are used for, etc. Any tutorials out there or guidance to >>such would be much appreciated. > > If for internal useage, just about any non-standard port should > suffice (unless, of course, you are trying to do standard stuff). > > If you are out to build a large international app, then you might > register with iana > > For my app, I selected a large unused port as my default, but allowed > the user to set their own in case of in-the-field conflicts. > > The keeper of the ports: > http://www.iana.org/assignments/port-numbers > > Something that came up with Google "tcp/ip ports": > http://www.chebucto.ns.ca/~rakerman/port-table.html > > Well-Known TCP Port Numbers: > http://www.webopedia.com/quick_ref/portnumbers.asp > Thanks so much, Bob. Precisely what I was looking for. I would rather not muck around with reserved ports and inadvertantly crash my system through ignorance
Technical Details
Message-ID:
<45e4f5ca$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45e4d601@newsgroups.borland.com> <mcp9u2ltre7ltdjcvigv5u26o2uas8i6mq@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,eefbc5ce70c2e09b X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "David Pratt" <Prattaratt@sbcglobal.net> Newsgroups: borland.public.cppbuilder.internet.socket References: <45e4d601@newsgroups.borland.com> <mcp9u2ltre7ltdjcvigv5u26o2uas8i6mq@4ax.com> Subject: Re: How to determine what port to use? Date: Tue, 27 Feb 2007 21:24:57 -0600 Lines: 35 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 75.43.164.29 Message-ID: <45e4f5ca$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1172633034 75.43.164.29 (27 Feb 2007 19:23:54 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail