🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to get socket connections with associated pid under nt4 ?

#10839
From: Kikof
Date: Tue, 09 Mar 2004 22:17
14 lines
1211 bytes
Hi,

I need to get all tcp/udp connections with their
associated process id.
This is easy to do under XP because there
are the iphlpapi functions
AllocateAndGetTcpExTableFromStack and
AllocateAndGetUdpExTableFromStack.
Unfortunately, the prog must run under NT4
and these functions do not exist.

Does someone have an idea ?

TIA
Technical Details
Message-ID: <404e4281$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,72cb1431b5b4f118,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-09 14:40:43 PST
From: "Kikof" <Bouffe@Pub>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to get socket connections with associated pid under nt4 ?
Date: Tue, 9 Mar 2004 23:17:37 +0100
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 82.224.135.57
Message-ID: <404e4281$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1078870657 82.224.135.57 (9 Mar 2004 14:17:37 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail