🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages Started by Miem Chan Mon, 03 Mar 2003 08:54
How to get IPs of multiple interface (network) boards?
#5833
Author: Miem Chan
Date: Mon, 03 Mar 2003 08:54
12 lines
1434 bytes
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
Re: How to get IPs of multiple interface (network) boards?
#5834
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads