🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5832

Re: How to get IPs of multiple interface (network) boards?

#5832
From: Ken de Camargo Jr.
Date: Mon, 03 Mar 2003 22:40
13 lines
1657 bytes
In article <of966v47el1eim5l371n5eqjuau8mdub31@4ax.com>, mtj2
@btopenworld.com says...
> Have a look at the GetAdaptersInfo() IP Helper API function. That
> allows you to list all IP addresses and subnet masks assigned to each
> interface.
> 
Have you managed to #include the iphlpapi.h header without problems? When 
I tried I got an error in Winsock2.hpp...

Ken
http://planeta.terra.com.br/educacao/kencamargo/
"Knowledge is just opinion you trust enough to act upon"
Orson Scott Card
Technical Details
Message-ID: <MPG.18cdce249bb6548698b26e@forums.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3e631860@newsgroups.borland.com> <of966v47el1eim5l371n5eqjuau8mdub31@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1036eb,74f6d7aef460afd4
X-Google-Attributes: gid1036eb,public
X-Google-Thread: 11508e,74f6d7aef460afd4
X-Google-Attributes: gid11508e,public
X-Google-ArrivalTime: 2003-03-03 14:39:49 PST
From: Ken de Camargo Jr. <rb.moc.arret@jcrk>
Newsgroups: borland.public.cppbuilder.internet.socket,borland.public.delphi.internet.winsock
Subject: Re: How to get IPs of multiple interface (network) boards?
Date: Mon, 3 Mar 2003 19:40:43 -0300
Message-ID: <MPG.18cdce249bb6548698b26e@forums.borland.com>
References: <3e631860@newsgroups.borland.com> <of966v47el1eim5l371n5eqjuau8mdub31@4ax.com>
Organization: Severly lacking
X-Newsreader: MicroPlanet Gravity v2.60
NNTP-Posting-Host: 200.165.171.137
X-Trace: newsgroups.borland.com 1046730951 200.165.171.137 (3 Mar 2003 14:35:51 -0800)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail