Re: Regarding the bonjour services
Re: Regarding the bonjour services
- Subject: Re: Regarding the bonjour services
- From: Marc Krochmal <email@hidden>
- Date: Wed, 1 Jun 2005 15:53:26 -0700
Hi Kiran,
I have a small problem while using the bonjour,in our project
we have client and server applications ,server registers a service
in the local domain,the client is able to resolve the service soon
after it is published,but it is not able to resolve the service if
the server is running from long time and published the service long
time ago,client is able to find the service but not able to resolve
the service.how to solve this problem?
If any one have an idea ,plz respond ASAP.
thanks for reading ,
Kiran.
It sounds like you aren't leaving the service published. If you quit
the application that publishes the service, or if you call
[NSNetService stop] on the service, then you won't be able to resolve
it anymore. Also, I'd recommend that you pass in empty string for
the domain when registering, instead of passing in "local.". That
way your server will automatically work with wide-area Bonjour in Tiger.
Best Regards,
-Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden