Skip navigation.
 
mlNSConnection registration problems
FROM : Mike Vannorsdel
DATE : Fri Jan 11 20:27:00 2002

I created a Foundation tool which will run as a background daemon.  This
tool also uses NSConnection for listening and receiving messages over DO.  I
want this Daemon to start at system startup, so I created a startupitem for
it.  The problem is, when the Daemon is launched this way the NSConnections
sometimes fail to work (either fail to register or create other
connections).  If I launch it manually, everything is fine.  I believe this
is because the daemon is starting before services it depends on are not yet
available.  What I want to know is what does my tool depend on for the
NSConnections and when is the right time for the daemon to launch?


Related mailsAuthorDate
No related mails found.