Re: dummy question about Rendezvous
Re: dummy question about Rendezvous
- Subject: Re: dummy question about Rendezvous
- From: Shawn Erickson <email@hidden>
- Date: Thu, 19 Jun 2003 08:17:33 -0700
On Thursday, June 19, 2003, at 12:32 AM, p3consulting wrote:
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.
Never mind.. I though it was talking about the type of service must be
different, yeah the name should be different.
-Shawn
_______________________________________________
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.