Article View: borland.public.cppbuilder.internet.socket
Article #5714Re: a Small doubt whith the Port Number
From: Remy Lebeau (TeamB)
Date: Mon, 12 Jul 2004 16:35
Date: Mon, 12 Jul 2004 16:35
31 lines
1976 bytes
1976 bytes
"McKool" <kenethw@peak-system.com> wrote in message news:40f2998c@newsgroups.borland.com... > - What do i have to keep in mind in selecting the > port number that my application should use? Make sure that no other application on the machine is using the same port(s) that you are. Also, if on a network and/or a firewall or router is involved, make sure the port(s) are accessible. > I mean, I tested my application with port 80 and > it works, port 7 and it works, etc etc. Just because they are "reserved" doesn't mean that can't work in general, just as long as they are not already in use. > - Can affect the speed of sending data depending of the port number? No. > - Since my applicaiton is used transmit using my own protocol, > without follow a defined knew protocol like HTTP, would be a > good idea to take a port greater than 1024 or is just the same > which port i take to make my communication?. If you are designing your own protocol, it is best to use your own port number as well. Less chance of conflict that way. Gambit
Technical Details
Message-ID:
<40f2bdc0$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40f2998c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,19f187929698ab80 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <40f2998c@newsgroups.borland.com> Subject: Re: a Small doubt whith the Port Number Date: Mon, 12 Jul 2004 09:35:50 -0700 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <40f2bdc0$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089650112 68.69.17.41 (12 Jul 2004 09:35:12 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail