• 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: Lloyd Dupont <email@hidden>
  • Date: Fri, 20 Jun 2003 09:08:07 +1000

thanks !
I finally realize it too .....
On Thursday, June 19, 2003, at 05:32 PM, 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.
>
> 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.

References: 
 >Re: dummy question about Rendezvous (From: p3consulting <email@hidden>)

  • Prev by Date: multiple nibs and table view
  • Next by Date: TrollTech releases QT for Mac under GPL
  • Previous by thread: Re: dummy question about Rendezvous
  • Next by thread: Re: dummy question about Rendezvous
  • Index(es):
    • Date
    • Thread