Re: CocoaEcho
Re: CocoaEcho
- Subject: Re: CocoaEcho
- From: Dave DeLong <email@hidden>
- Date: Mon, 14 Jun 2010 13:05:54 -0600
1. They're not being compiled into the same executable. CocoaEcho has two targets: CocoaEchoClient and EchoServer. Each one has only one main() function.
2. That's called a LaunchDaemon. Go research those and then come back with more questions. :)
3. You could kill the daemon if its running by sending it the appropriate kill signal (or by some other proprietary means, like a distributed notification telling it to shut down, etc), and if you don't want it to run at start up, you'll need to remove its launchd plist.
Dave
On Jun 14, 2010, at 12:22 AM, B. Mitchell Loebel wrote:
> Hello list ... three questions:
>
> 1. CocoaEcho has two main() functions. How come X-Code doesn't complain?
>
> 2. How can I create a daemon to run in the background which will persist across machine boots?
>
> 3. How can I kill the daemon if I choose to do that?
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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
References: | |
| >CocoaEcho (From: "B. Mitchell Loebel" <email@hidden>) |