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 ...

Get Cocoa® Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.