• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mach ports and namespaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Mach ports and namespaces
      • From: Dave Camp <email@hidden>
  • Prev by Date: Re: core data app questions - help!
  • Next by Date: Re: Cocoa-dev Digest, Vol 4, Issue 881
  • Previous by thread: Re: Cocoa-dev Digest, Vol 4, Issue 881
  • Next by thread: Re: Mach ports and namespaces
  • Index(es):
    • Date
    • Thread