Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Distributed Object port connections across Mach namespaces (revisited)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Distributed Object port connections across Mach namespaces (revisited)



Greeting (again),

I know it's been ages since I whined about this problem, but it's back to haunt me again.

I have two processes. These two processes are getting started in different Mach namespaces. They need to communicate using Distributed Objects.

My problem is that the regular [NSConnection connectWithRegisteredName:host:] method won't connect to a service that is not running the the current or parent namespace.

So is it possible to use one of the NSPortNameServer subclasses to establish a DO connection with a process in another namespace? For example, is it possible for the service to broadcast its port information via distributed notifications which could then be used to establish the DO connection across user sessions?

Thanks,

James
--
James Bucanek

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.