🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#5834
From: Maynard Philbrook
Date: Mon, 03 Mar 2003 16:53
24 lines
1942 bytes
you can use the GetAdapterInfo for that how ever,
 i would like to add that it may not be in your current lib set depending
on
version of tools your using..
 You will have to look at MS to find out the name of the DLL that contains

the tools do that you can import it in the event that you don't have it.
 i can't remember the name a the moment.


Miem Chan wrote:

> I've two network cards in my WinNT machine which are connected to two
> different networks.
>
> How can I get their IP adr. by using BCB and/or Delphi?
>
> I will use these IP address to send separate packages to each network.
>
> Any hint/help/code/suggesttion please?
>
> Miem Chan
>
> miemchan@yahoo.com
Technical Details
Message-ID: <3E63888E.F82E4BD6@mindspring.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
References: <3e631860@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11508e,74f6d7aef460afd4
X-Google-Attributes: gid11508e,public
X-Google-Thread: 1036eb,74f6d7aef460afd4
X-Google-Attributes: gid1036eb,public
X-Google-ArrivalTime: 2003-03-03 08:55:54 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
From: Maynard Philbrook <jamie12mindspring.com@mindspring.com>
Newsgroups: borland.public.cppbuilder.internet.socket,borland.public.delphi.internet.winsock
Subject: Re: How to get IPs of multiple interface (network) boards?
Date: Mon, 03 Mar 2003 11:53:35 -0500
Organization: MindSpring Enterprises
Lines: 25
Message-ID: <3E63888E.F82E4BD6@mindspring.com>
References: <3e631860@newsgroups.borland.com>
Reply-To: jamie12mindspring.com@mindspring.com
NNTP-Posting-Host: 44.76.b2.0c
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Server-Date: 3 Mar 2003 16:55:48 GMT
X-Mailer: Mozilla 4.5 [en]C-CCK-MCD {TLC;RETAIL}  (Win98; U)
X-Accept-Language: en