Distributed Objects: multiple services?
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