Mach ports and namespaces
Mach ports and namespaces
- Subject: Mach ports and namespaces
- From: James Bucanek <email@hidden>
- Date: Mon, 10 Sep 2007 09:41:31 -0700
Greetings,
I'm trying to solve a problem I'm having the distributed objects
in Cocoa. I have several processes that get started in different
ways (application, helper, daemon, ...).
My problem is that some of those processes are in different Mach
namespaces. Since (it appears that) Cocoa DO uses Mach ports for
interprocess communications, I have processes that can't connect
to other processes.
Is it possible to connect with a Mach port in a different
namespace? [ solution would be to pass the port id to the other
process and use that to create an NSMachPort object ]
Is it possible to create a Mach port in a different namespace? [
solution would be to register/create the connection in a common
name space accessible to all processes ]
Is it possible to use some other local inter-process
communications port like BSD pipes/sockets (NOT TCP/IP)?
--
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