Objective-c supports an inter-process messaging system. An application running on different machines and on same computer can send message’s to each other.
Objective-c classes use for inter-process messaging are as follows:-
NSConnection object manage the communication between objects and normally run in the background.
NSPort object represent the communication channel. Its an abstract class and sending and receiving messages handle through port.
NSProxy is an abstract superclass and typically a proxy forward the message to real object and load the real object.
Example: A program using NSSocketPort, NSConnection to send message from one computer to another computer. Read the rest of this entry