Re: NSNetService addresses returns empty array
Re: NSNetService addresses returns empty array
- Subject: Re: NSNetService addresses returns empty array
- From: Chris Parker <email@hidden>
- Date: Thu, 26 Sep 2002 13:54:39 -0700
Hi Greg,
On Thursday, September 26, 2002, at 05:57 AM, Greg Hulands wrote:
[code clipped]
When trying to format the IP address, the addresses returns an empty
array. Both the client and server are on the same machine, but i don't
think that is the cause as the NSNetService example works fine. The
documentation says
If no addresses were resolved for the service, the returned NSArray
contains zero elements.
What would cause the non-resolution of the address when it is on the
same machine?
The first thing I'd do is implement the net
Service:didNotResolve:
method in your delegate object and find out if you're getting errors on
the resolve. The error codes should tell you what items are going south
or whether you've got the service doing something else.
.chris
--
Chris Parker
Cocoa Frameworks Engineer
Apple Computer, Inc.
_______________________________________________
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.