HI
I'm trying to write a client for the twitter streaming API, a 'comet' style
service that returns chunks of JSON over an open HTTP connection.
Unfortunately the response stream doesn't return anything until the
response ends, which it never does.
My code looks a bit like this...
using(var stream = response.GetResponseStream)
{
int byteAsInt;
while ((byteAsInt = stream.ReadByte()) != -1)
{
// blocks on previous line rather than streaming bytes as they
arrive :(
}
}
Is this a known bug?
Many thanks
Mike
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list