Re: Inter-Application Communication in Cocoa ?
Re: Inter-Application Communication in Cocoa ?
- Subject: Re: Inter-Application Communication in Cocoa ?
- From: Douglas Davidson <email@hidden>
- Date: Thu, 12 Sep 2002 10:24:03 -0700
On Thursday, September 12, 2002, at 07:20 AM, Robert Miller wrote:
>
This is probably a very basic question. Can someone tell me what the
>
preferred method for handling communication between multiple
>
applications is under Cocoa ? I haven't been able to uncover a
>
definitive answer, am I missing something ? Are there any examples
>
available ?
Here is an answer I recently posted to a similar question elsewhere:
>
There are many different interprocess communication mechanisms
>
available to you on Mac OS X. Here are a few of them, roughly in
>
increasing order of layering: Mach ports, sockets, CFMachPort,
>
CFSocket, CFMessagePort, distributed notifications, AppleEvents,
>
NSMachPort, NSSocketPort, NSMessagePort, distributed objects.
>
>
For broadcast local-machine communications, the natural choice would
>
be distributed notifications. For connection-oriented communications
>
between Cocoa apps, the natural choice would be distributed objects.
>
You can find both of these documented on developer.apple.com, but here
>
is a page that is particularly on point for system preferences:
>
>
http://developer.apple.com/techpubs/macosx/AdditionalTechnologies/
>
PreferencePanes/Tasks/Communication.html
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.