🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: all IP adresses of the local system

#4594
From: EB
Date: Thu, 22 Dec 2005 16:18
17 lines
1525 bytes
How do you do this if you don't want to use boost::?

ULONG ulOutBufLen = sizeof(IP_ADAPTER_INFO);
 boost::scoped_array<char> pAdapterInfo( new char[ulOutBufLen] );

The following doesn't work:
 char *pAdapterInfo( new char[ulOutBufLen] );

"Andreas Osswald" <noname@noname.de> wrote in message 
news:43a832cb$1@newsgroups.borland.com...
> Is there a possibility to get all the IP adresses of my computer. Ther are
> serverals nic installed, and i wont all adresses. At the moment i use the
> class TIpSocket but i get only one adress.
>
> Andreas
>
> 
Technical Details
Message-ID: <43aad18b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!mpls-transit-01.news.qwest.net!38.119.97.78.MISMATCH!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43a832cb$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,744a3315ee7b00aa
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "EB" <elias.berelian@snet.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43a832cb$1@newsgroups.borland.com>
Subject: Re: all IP adresses of the local system
Date: Thu, 22 Dec 2005 11:18:19 -0500
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 144.160.5.25
Message-ID: <43aad18b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1135268235 144.160.5.25 (22 Dec 2005 08:17:15 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!mpls-transit-01.news.qwest.net!38.119.97.78.MISMATCH!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail