Cocoa console applications (daemons)
Cocoa console applications (daemons)
- Subject: Cocoa console applications (daemons)
- From: Thierry DELHAISE <email@hidden>
- Date: Wed, 10 Mar 2004 14:48:36 +0100
Hi all,
I need to write a daemon under OS/X. I would like to use cocoa
(Objective-C). So I'm dealing with Foundation only not appkit.
In this way I don't have access to NSApplication. So I know I would
like to mimics what NSApplication minus all the GUI initialization part
do.
My daemon is a server for TCP connections.
So I plan to manage multi-thread :
- one thread listening on incomming port.
- others threads to perform tasks : each thread will be specialized.
So I was thinking on using "message base" commnication between threads
(like a GUI Application do).
Does anyone have advices on this, may be sample code ?
THX in advance.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.