Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed objects: connecting to a process running as root?



On 4/30/06, James Bucanek <email@hidden> wrote:

email@hidden wrote on Monday, May 1, 2006:
>Curious.  Are you using Mach messaging?

Which really makes a lot of sense. I've always wondered how *anything* could get done if processes in two "mach namespaces" weren't allowed to communicate with each other. This also alleviates the problem of name space collision between different users, which was another thing I was worried about.

Well, just doing the connections over TCP and using Rendez.. er.. Bonjour for service discovery / collision detection solves all the inter-user problems. Then you can do machine-to-machine without any changes in code at all, as well. It'll also work across network boundaries, if you can add server addresses manually. I can't imagine that it would be a bottleneck while running on the local host. It's not much of a security issue either if you just listen to a port on the loopback interface for single-machine deployments.

I'm still not sure what your reluctance to use IP is.. everyone's using it ;)

J.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Distributed objects: connecting to a process running as root? (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.