Re: Connecting streams together
Re: Connecting streams together
- Subject: Re: Connecting streams together
- From: vance <email@hidden>
- Date: Thu, 24 Apr 2008 21:18:09 -0700
So there should be 2 instances, right? One instance for the
NSInputStream and one instance for the NSOutputStream
Yes, I would think so. The input stream to get data from wherever
the data is coming from and the output stream for wherever you want
it to go. I assumed you already had a setup like this.
Yes that is the structure I was experimenting with, I can't figure out
how to connect the two instances together, so that when I write in the
NSInputStream, I can then read the data from the NSOutputStream.
And even if you could, I don't know why you'd want to send the data
right back to where you're getting it.
I am sorry, I should have mentioned the direction I am moving that
data. I am writing it to the stream, then I want to read it from that
stream from somewhere else
Thank you
Regards,
Vance
_______________________________________________
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