• 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
HowTo get computer name from IP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HowTo get computer name from IP


  • Subject: HowTo get computer name from IP
  • From: Lloyd Dupont <email@hidden>
  • Date: Wed, 18 Jun 2003 14:34:22 +1000

I get an IP address (from NSNetServiceBrowswer) of a remote computer.
I try to get a friendly name to display to the user.

I'm using NSHost for that, and didn't deliver me any name !
although I do my test on localhost !

I don't understand, if I 'ping ihookIT.local', (the rendezvous name) it work, even from a remote computer. why NSHost hasn't a clue ?
Anyway could you suggest me an other way to get a host name from an IP ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: HowTo get computer name from IP
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Getting mad with simple applescript handling (kAEGetURL)
  • Next by Date: Re: HowTo get computer name from IP
  • Previous by thread: get the list of computer on the network
  • Next by thread: Re: HowTo get computer name from IP
  • Index(es):
    • Date
    • Thread