• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: dummy question about Rendezvous
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: dummy question about Rendezvous
      • From: Shawn Erickson <email@hidden>
    • Re: dummy question about Rendezvous
      • From: Shawn Erickson <email@hidden>
    • Re: dummy question about Rendezvous
      • From: Lloyd Dupont <email@hidden>
  • Prev by Date: Re: disk image
  • Next by Date: Re: crash when loading nib
  • Previous by thread: Re: dummy question about Rendezvous
  • Next by thread: Re: dummy question about Rendezvous
  • Index(es):
    • Date
    • Thread