Re: NSNetService addresses returns empty array
Re: NSNetService addresses returns empty array
- Subject: Re: NSNetService addresses returns empty array
- From: David Remahl <email@hidden>
- Date: Fri, 04 Oct 2002 14:16:08 +0200
>
Hej David,
>
>
I had similar problems, and found many great answers on the Rendezvous
>
mailing list.
>
>
On Thursday, Oct 3, 2002, at 23:58 Europe/Stockholm, David Remahl wrote:
>
>
> As seen above, the error is Activity In Progress....I am connected to a
>
> network.
>
>
Could your problem be that you're trying to use one browser to do many
>
things at the same time? I'm sorry, but I couldn't rule that out from
>
your message. If that's the case, you need to either have two different
>
browsers, or stop the browser between the different tasks you want it
>
to perform.
I found a solution to my problem...By mistake, I asked the new net service
to resolve twice in different places. I didn't spot that mistake until
now...
IMHO, NetServices should not react by terminating both requests to resolve.
The first one should proceed as expected and deliver a didResolve message to
its delegate, while the second one should send an error message. Right now,
it seems that the first request will actually make the service resolve, but
will never deliver any notification to that effect.
I'm not sure, but I think there may be some bug involved here...I'll have to
get more acquainted with NSNetServices before I file a bug report.
/ David Remahl
_______________________________________________
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.