Re: Getting IP address
Re: Getting IP address
- Subject: Re: Getting IP address
- From: Rajendra Rao <email@hidden>
- Date: Wed, 05 Jun 2002 17:10:31 +0530
Hello
Here is some more detail on what I want to do. I have a network card which
can be assigned an IP address to connect to a peripheral. The card acts as a
interface between the computer and peripheral. The card supports Appletalk.
But it does not support UDP.
I am able to get the Appletalk information about the card once it is
connected to the network. I want to get the IP address of all such cards
connected to the network regardless of whether it is connected to some
peripheral or not.
To be more general, all I want to know is whether it is possible to get
IP address having just the Appletalk information using AppleTalk or
OpenTransport API's.
Thanks
Rajendra
>
I am developing a Carbon application where I need to get the IP address of
>
all the Mac machines connected over the network. Is it possible to get the
>
IP address of an network entity if I know the AppleTalk node
>
information (DDP address) using Open Transport or AppleTalk API's.
This is going to be tricky. The only way to do it is to map the AT
address to a hardware address and then map the hardware address back
to an IP address (probably you need to scan all the IP addresses
looking for one with a matching hardware address). This would
involve a bunch of ugly code that definitely won't be portable
between 9 and X.
Can you explain a little bit more about the big picture? Maybe
there's some higher level solution to your problem.
--------------------------------------------------------------
Robosoft Technologies, Mangalore, India
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.