NSConnection registration problems
NSConnection registration problems
- Subject: NSConnection registration problems
- From: Mike Vannorsdel <email@hidden>
- Date: Sat, 12 Jan 2002 00:10:54 -0700
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?