Hello Simon,
thanks for the reply, I think I got this now.
Here is an example that I am working on. I thought initially one could make
the echo function listen to a 'close-channel' at the same time as reading
from the connection. Obviously this is not possible. Is this example a
good/common way
seems to me...
channels are for language-handled concurrency which is able to then,
transparently, be parallel, readers are a single threaded thing that mimics
concurrency, they do it explicitly.
so you need to 'drive' the readers by calling them all in a loop, handling
any none zero length, t
Hello Tarmigan,
I am new to go and I find myself asking the same question.
Did you come to a conclusion about this?
Many thanks,
Roman
On Tuesday, March 8, 2011 at 9:02:14 PM UTC+1, Tarmigan wrote:
>
> On Mar 8, 11:40 am, Florian Weimer wrote:
> > > Even io.MultiReader doesn't do what I am int