Re: [[NSHost currentHost] name] blocking on 10.6 ?

2009-09-08 Thread Marc Krochmal
Hi Brent, I may have been one of those appalled Apple engineers. In general, [NSHost currentHost] is the worst API on the system and people should avoid it like the plague. Jonathan, just use SCDynamicStoreCopyLocalHostName instead. gethostname probably isn't going to do what you want.

Re: [[NSHost currentHost] name] blocking on 10.6 ?

2009-09-08 Thread Marc Krochmal
Hi Jayson, On Sep 8, 2009, at 4:51 PM, Jayson Adams wrote: On Sep 8, 2009, at 3:31 PM, Marc Krochmal wrote: Hi Brent, I may have been one of those appalled Apple engineers. In general, [NSHost currentHost] is the worst API on the system and people should avoid it like the plague. Hi

Re: NSNetService won't resolve

2008-11-02 Thread Marc Krochmal
Hi Benjámin, On Oct 31, 2008, at 10:37 AM, Benjámin Salánki wrote: Hi all, I have an NSNetService enabled app that acts as both the client and the server on the same machine. My problem is that once I register the service I create and I want to set up the connection the aNetService