Re: dummy question about Rendezvous
Re: dummy question about Rendezvous
- Subject: Re: dummy question about Rendezvous
- From: p3consulting <email@hidden>
- Date: Thu, 19 Jun 2003 09:32:35 +0200
>
could you have a same rendez vous service running on multiple computer
>
?
>
does it work when you try to advertize it ?
>
(I mean the same name & type, but different computer) ...
>
will my NSNetServiceBrowser see multiple service ?
>
No, the names must be different:
[[NSNetService alloc] initWithDomain:serviceDomain <- may be the same
type:serviceType <- must be the same (for what you want to do)
name:serviceName <- must be different (unique by serviceType in
serviceDomain)
port:inPort];
From the doc:
NSNetServicesCollisionError
The service could not be published because the name is already in use.
The name could be in use locally or on another system.
The delegate of the service will be notified of the error. Seed doc for
more info.
Pascal Pochet
P3 Consulting
email@hidden
http://www.p3-consulting.net
_______________________________________________
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.