Article View: borland.public.cppbuilder.internet.socket
Article #1204Re: How to determine what port to use?
From: Bob Gonder
Date: Wed, 28 Feb 2007 02:25
Date: Wed, 28 Feb 2007 02:25
25 lines
1999 bytes
1999 bytes
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
Technical Details
Message-ID:
<mcp9u2ltre7ltdjcvigv5u26o2uas8i6mq@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45e4d601@newsgroups.borland.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: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: How to determine what port to use? Date: Tue, 27 Feb 2007 18:25:52 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <mcp9u2ltre7ltdjcvigv5u26o2uas8i6mq@4ax.com> References: <45e4d601@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.69.86.40 X-Trace: newsgroups.borland.com 1172629494 69.69.86.40 (27 Feb 2007 18:24:54 -0800) Lines: 29 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail