Re: Connecting streams together

2008-04-24 Thread Ken Thomases
On Apr 24, 2008, at 11:18 PM, vance wrote: 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 w

Re: Connecting streams together

2008-04-24 Thread vance
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 s

Re: Connecting streams together

2008-04-24 Thread Ken Thomases
On Apr 24, 2008, at 8:25 PM, vance wrote: 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

Re: Connecting streams together

2008-04-24 Thread vance
Thank you for the reply, I did a sample that sets up the stream in that fashion up to a degree. So there should be 2 instances, right? One instance for the NSInputStream and one instance for the NSOutputStream OR Should there be just ONE instance and then we cast it to NSInputStream or N

Re: Connecting streams together

2008-04-24 Thread Ken Thomases
On Apr 24, 2008, at 7:15 PM, vance wrote: Is there a way to connect an NSOutputStream and NSInputStream together with in-memory buffer? So while the Input Stream is getting filled, the Output stream starts pulling the data out. The context of the problem is streaming. The generator creates