• 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
Cocoa console applications (daemons)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Cocoa console applications (daemons)
      • From: String <email@hidden>
  • Prev by Date: Re: Wisdom of overriding isEqual:
  • Next by Date: Re: array with int
  • Previous by thread: Re: array with int
  • Next by thread: Re: Cocoa console applications (daemons)
  • Index(es):
    • Date
    • Thread