• 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
Distributed Objects: multiple services?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Distributed Objects: multiple services?


  • Subject: Distributed Objects: multiple services?
  • From: August Trometer <email@hidden>
  • Date: Mon, 26 Jun 2006 13:59:17 -0400

I'm just getting my feet wet with Bon Jour and distributed objects, so this may be an easy one.

I've got a document-based application. For each document open, I use a NSNetService to advertise a Bon Jour service that is available. Each service has a different name (based, in part, on the document title). Obviously, I intend to use this across a network. I then use Distributed Objects to communicate from client to the server.

Now, when the clients connect, it seems I can only have one DO server per port. But then I have to figure out which document the client wants and return data for that. Is that correct? Or is there a way I can have multiple DO servers and the client could connect directly to the one associated with the document?

I want to keep to one-port usage, because I don't know how many documents the user might have open and one-per would get out of hand (and collide with other services).

Thanks!

August


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Distributed Objects: multiple services?
      • From: email@hidden
  • Prev by Date: Re: Eject Key Code
  • Next by Date: May Not Respond To
  • Previous by thread: Problem with application menu
  • Next by thread: Re: Distributed Objects: multiple services?
  • Index(es):
    • Date
    • Thread