On Jul 30, 2009, at 4:38 PM, Adam R. Maxwell wrote: > > On Jul 30, 2009, at 7:14 AM, Sven-S. Porst wrote: > >>> Perhaps it would be possible to use a single service with a single >>> port (in the background thread), but I'm not sure if that works with >>> DO (I've certainly never seen sample code for that). I know too >>> little >>> about ports to know for sure if the port used by the netservice >>> can be >>> used for DO. > > I tried that a couple of times and couldn't get it to work. I don't > know enough about BSD sockets to do anything more. >
Did you ever try something like this <http://www.cocoadev.com/index.pl?DistributedObjectsAndBonjour >? Christiaan >> I just want to make clear that my point weren't the open ports >> anyway, >> but the fact that they are advertised via Bonjour. Does that >> additional port have to advertised in this way so other applications >> can discover it independently (that'd seem unlikely to me as it's >> unclear how the service would be identified from the Bonjour entry >> without any description beyond that it's a generic NSSocketPort). > > It's not for discovery. It's internal DO machinery from > NSSocketPortNameServer, as Christiaan said, and it lets you connect > over an NSPort by knowing only the service name and hostname. Your > alternative would be vending it over a hard-coded TCP port number, > according to the documentation. > > -- adam ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Bibdesk-develop mailing list Bibdesk-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-develop