🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Win API to peek next tcp local port

#9452
From: Remy Lebeau (TeamB)
Date: Thu, 08 Jul 2004 07:56
17 lines
1248 bytes
"OzJohn" <hstest1@nooo.spam.com> wrote in message
news:40ecd826$1@newsgroups.borland.com...

> I have an app where I need to see which local
> port will be granted when one is next requested.

There is no way to determine that ahead of time.

> Is there a way to peek at what will next be
> allocated without actually using a local
> port number.

No.


Gambit
Technical Details
Message-ID: <40ecfefa$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40ecd826$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1869a6a83525ceda
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40ecd826$1@newsgroups.borland.com>
Subject: Re: Win API to peek next tcp local port
Date: Thu, 8 Jul 2004 00:56:57 -0700
Lines: 19
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.10
Message-ID: <40ecfefa$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1089273594 68.69.17.10 (8 Jul 2004 00:59:54 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail