Article View: borland.public.cppbuilder.internet.socket
Article #5719Re: a Small doubt whith the Port Number
From: McKool
Date: Tue, 13 Jul 2004 06:10
Date: Tue, 13 Jul 2004 06:10
38 lines
2228 bytes
2228 bytes
Thansk gambit. "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> schrieb im Newsbeitrag news:40f2bdc0$3@newsgroups.borland.com... > > "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:
<40f37ca1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.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:
<40f2998c@newsgroups.borland.com> <40f2bdc0$3@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: "McKool" <kenethw@peak-system.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <40f2998c@newsgroups.borland.com> <40f2bdc0$3@newsgroups.borland.com> Subject: Re: a Small doubt whith the Port Number Date: Tue, 13 Jul 2004 08:10:51 +0200 Lines: 40 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: 213.157.13.214 Message-ID: <40f37ca1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089698977 213.157.13.214 (12 Jul 2004 23:09:37 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.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