🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: binded address

#17665
From: Remy Lebeau (TeamB)
Date: Sun, 09 Mar 2003 01:21
23 lines
2146 bytes
"Boguslaw Fries" <B.Fries@luca-online.de> wrote in message
news:3e6a7d78$2@newsgroups.borland.com...
> ok, I write
<snip>

Your code sample is incomplete.  What is lpSystemInformation declared as?
What is a SYSTEM_HANDLE?  SYSTEM_HANDLE is not documented by Microsoft.  And
SystemHandleInformation is not listed in NtQuerySystemInformation's supposed
classes.

In any case, your code is only dealing in process handles, as far as I can
tell.  A process handle is not a socket handle.  They are completey
different things from completely different libraries.  Even in the
off-chance that NtQuerySystemInformation() does return socket handles as
well, based on the documentation I was able to find elsewhere, you should be
using the SYSTEM_HANDLE's ObjectType member to see what the actual type of
handle is being reported.  Right now, you're assuming every handle is a
socket handle, which is not the case.  The OS has many different kinds of
handles available.


Gambit
Technical Details
Message-ID: <3e6a94fd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e68956a@newsgroups.borland.com> <3e68e277$1@newsgroups.borland.com> <3e69d1eb$1@newsgroups.borland.com> <3e69d6ef$1@newsgroups.borland.com> <3e69dbad@newsgroups.borland.com> <3e6a6534$1@newsgroups.borland.com> <3e6a7d78$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,522e24851519f924
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-08 17:17:38 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e68956a@newsgroups.borland.com> <3e68e277$1@newsgroups.borland.com> <3e69d1eb$1@newsgroups.borland.com> <3e69d6ef$1@newsgroups.borland.com> <3e69dbad@newsgroups.borland.com> <3e6a6534$1@newsgroups.borland.com> <3e6a7d78$2@newsgroups.borland.com>
Subject: Re: binded address
Date: Sat, 8 Mar 2003 17:21:32 -0800
Lines: 25
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: 207.175.226.26
Message-ID: <3e6a94fd$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1047172349 207.175.226.26 (8 Mar 2003 17:12:29 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail