On Jun 20, 2013, at 11:01 AM, Michael Crawford <mdcrawf...@gmail.com> wrote:

> Do localhost (127.0.0.1) TCP sockets work between two different apps?

Yes, and there are systems like Audiobus (http://audiob.us) that use it for 
live audio streaming between apps. The tricky part, I think, is keeping both 
apps running at the same time since one will be in the background. Audio apps 
can do this because iOS lets them keep running to play background audio. This 
doesn’t sound relevant to Alex’s question, though, because he presumably 
doesn’t want both apps to have to be running at the same time to share the data.

> Now here's why sandboxing really cannot hope to keep two apps from
> communicating:

What you say is true, but I don’t think it’s been Apple’s goal to keep apps 
from communicating. After all we already have mechanisms like registering URL 
schemes and opening URLs. Apple is just limiting the types of communication to 
avoid channels malware can use to attack other apps.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to