Interapplication Programming
Cocoa applications can communicate with each other in several ways. The lowest levels of the Mac OS X kernel provide interapplication communication features. Deep within the implementation of the operating system, processes communicate using Mach messages and Mach ports. Just above the kernel level, Mac OS X provides standard BSD Unix sockets. Sockets are a cross-platform API for interprocess and network communications. Services such as the Message framework and Directory Services described in this chapter are implemented using Mach messages and/or sockets.
Mac OS X provides several high-level, interapplication communication APIs that are based on sockets and Mach messages, but shield programmers from low-level implementation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access