Big picture relationships between NSConnection, NSInputStream, NSOutputStream etc
Big picture relationships between NSConnection, NSInputStream, NSOutputStream etc
- Subject: Big picture relationships between NSConnection, NSInputStream, NSOutputStream etc
- From: Ken Tozier <email@hidden>
- Date: Wed, 3 Dec 2008 22:22:28 -0500
Hi
I'm working my way through the "Distributed Objects" documentation and
am confused about when to use NSConnection, NSInputStream,
NSOutputStream etc. The PictureBrowser example project doesn't even
seem to use NSConnection and does its thing just fine. Reading the
NSConnection docs, I notice the conspicuous absence of any method that
actually allows the transfer of messages and data. It just seems like
something that allows you to connect to something ... and then has not
a single method to actually do anything with that connection.
I looked at several of the example projects but they're all over the
map. Some use CF functions, some use raw BSD sockets, PictureBrowser
uses NSNetService (something not even mentioned in the Distributed
Object docs) So what is the overview of the function and
interrelationships between these different parts and importantly, what
exactly does one do with an NSConnection?
Thanks for any help
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden