🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to display ( using BCB 3.0 and windows 2000 ) list of all processess with sockets

#15165
From: Bernd Omenitsch
Date: Thu, 17 Jul 2003 14:03
25 lines
1740 bytes
As far as I know sockets are plain file resources. In order to list files
used by a process you will have to get into the native NT api.
I did this once, let me know whether you're interested in the source code.

I believe another, much better, but more complicated approach is to write an
IP stack intermediate driver.


Cheers

"Boguslaw Fries" <B.Fries@luca-online.de> schrieb im Newsbeitrag
news:3f169d92$1@newsgroups.borland.com...
> Hello,
> I need to display dimamically all system processes with the opened sockets
> associated to everyone
>
> Socket = local and remote ip, port
>
> I have Borland 3.0 and windows 2000
>
> Best regards
>
> Boguslaw Fries
>
>
Technical Details
Message-ID: <3f16ac2b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f169d92$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b908324f6121aac8
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-17 07:11:04 PST
From: "Bernd Omenitsch" <b.omenitsch@cashpoint.at>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f169d92$1@newsgroups.borland.com>
Subject: Re: How to display ( using BCB 3.0  and windows 2000 ) list of all processess with sockets
Date: Thu, 17 Jul 2003 16:03:29 +0200
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.196.70.124
Message-ID: <3f16ac2b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058450475 217.196.70.124 (17 Jul 2003 07:01:15 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail