Use Distributed Objects for local network communication.
Combined with Bonjour, you can write applications that find and communicate with all instances on the local network, without writing any networking code. The Distributed Object system is one of the most powerful bits of Cocoa and is made possible by the Objective-C language. You can also use it on the local machine to isolate parts of your code in a separate process.
I've expanded this tip, as I will do each Friday in January, into a full article: Using Distributed Objects in Cocoa.
For more tips, please see my new book,
Cocoa Programming Developer's Handbook,
available in print and electronic formats.
Take advantage of special member promotions, everyday discounts, quick access to saved content, and more! Join Today.