• 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
NSConnection registerName
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSConnection registerName


  • Subject: NSConnection registerName
  • From: SD <email@hidden>
  • Date: Mon, 07 Apr 2008 15:32:26 -0700

I have a deamon application that starts up and registers itself using a pre-defined name. (NSConnection registerName: name]


I have another application that is started and it looks for the connection with [NSConnection rootProxyForConnectionWithRegisteredName: name host:nil].


This all works correctly if the processes are all launched with Xcode or the command line.

If I launch the deamon via command line using my regular user and then I launch the application using the Security.framework authentication, the application does not find the connection and starts a second deamon.

Does anyone know what is going on here and how to fix it so that the connection is registered for the whole system (not per user as it appears).

Thanx in advance.
SD.
--
==========================================
SD

WARNING: Programming may be habit forming.
_______________________________________________

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: NSConnection registerName
      • From: Michael Vannorsdel <email@hidden>
    • Re: NSConnection registerName
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Binding NSTableColumn to NSArrayController programatically.
  • Next by Date: Re: NSTreeController / CoreData still broken in 10.5?
  • Previous by thread: Re: Binding NSTableColumn to NSArrayController programatically.
  • Next by thread: Re: NSConnection registerName
  • Index(es):
    • Date
    • Thread