Thread View: borland.public.cppbuilder.internet.socket
4 messages
4 total messages
Started by David Pratt
Wed, 28 Feb 2007 01:09
How to determine what port to use?
Author: David Pratt
Date: Wed, 28 Feb 2007 01:09
Date: Wed, 28 Feb 2007 01:09
5 lines
1159 bytes
1159 bytes
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.
Re: How to determine what port to use?
Author: Eduardo Jauch
Date: Wed, 28 Feb 2007 01:25
Date: Wed, 28 Feb 2007 01:25
11 lines
1505 bytes
1505 bytes
David Pratt escreveu: > 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 you look on google and search for "winsock tutorial" you will find lots of stuff. Some are really good :) Eduardo
Re: How to determine what port to use?
Author: 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
Re: How to determine what port to use?
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads