PDA

View Full Version : Getting the ip from an NSNetService object?




Iroa
Mar 30, 2011, 06:59 PM
Is there any way to get the ip address from a NSNetService object?



Sykte
Mar 31, 2011, 07:21 AM
Is there any way to get the ip address from a NSNetService object?


Who's? http://developer.apple.com/library/mac/#documentation/Networking/Conceptual/NSNetServiceProgGuide/Articles/ResolvingServices.html%23//apple_ref/doc/uid/20001078-SW1


Edit:
I promise you reading the docs will save you time and frustration.

PhoneyDeveloper
Mar 31, 2011, 07:29 AM
I believe that the BonjourWeb sample code shows how to do this.