• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting IP address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting IP address


  • Subject: Re: Getting IP address
  • From: Quinn <email@hidden>
  • Date: Tue, 4 Jun 2002 10:45:42 +0100

At 18:11 +0530 1/6/02, Rajendra Rao wrote:
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.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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.

References: 
 >Getting IP address (From: Rajendra Rao <email@hidden>)

  • Prev by Date: Re: Distinguishing between ppp and ethernet
  • Next by Date: RE: spam
  • Previous by thread: Getting IP address
  • Next by thread: Re: Getting IP address
  • Index(es):
    • Date
    • Thread