HowTo get computer name from IP
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.