🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6801

Re: Valid Ports

#6801
From: Remy Lebeau (TeamB)
Date: Mon, 11 Apr 2005 18:46
18 lines
1523 bytes
"JD" <nospam@nospam.com> wrote in message
news:42595e2b$1@newsgroups.borland.com...

> I'd just like to know if there is a way for me to determine
> ahead of time what the valid port numbers are before he/she
> starts my server.

The only way to check for availability is to actually try to use the ports.
There are many reasons for a given port to not be available.  Even if you
did determine the available ports ahead of time, the availability may change
before you actually try to use the ports.  Either way, there is no point in
trying to determine the availability ahead of time because you could just
start the server as-is and let it fail if the desired port is not available
at that time.


Gambit
Technical Details
Message-ID: <425ac57f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <42595e2b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9cd590b46ed1de01
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42595e2b$1@newsgroups.borland.com>
Subject: Re: Valid Ports
Date: Mon, 11 Apr 2005 11:46:13 -0700
Lines: 20
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: <425ac57f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113245055 68.69.17.41 (11 Apr 2005 11:44:15 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail