> Before I start down the wrong path: What is the difference between a > Foundation > tool and a Core Foundation tool? Primarily I will be needing to use TCP/IP > sockets, file I/O, and multithreading, so is one a better fit than the other? > I > believe OSX calls this type of GUI-less background process a 'daemon'. This > would be for Snow Leopard.
CoreFoundation is a general-purpose C framework whereas Foundation is a general-purpose Objective-C framework. Both provide collection classes, run loops, etc, and many of the Foundation classes are wrappers around the CF equivalents. CF is mostly open-source (see http://opensource.apple.com/source/CF/CF-550.42/), and Foundation is closed-source. Typically there's little reason to confine oneself to CF as it'll only make your life more difficult. The only exception is when security is a concern; I'm not sure what the current recommendation is on linking Foundation from a process that runs as root (although I believe some of Apple's software does this.) Will your daemon be running as root? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com