jbcooley / tivo-sdks

Libraries for building TiVo applications in .NET
2 stars 1 forks source link

throws EndOfStreamException #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Create many TextStyles (causes many FontInfo events)
eventually the reader empties the socket buffer and throws
EndOfStreamException.

What is the expected output? What do you see instead?
Block when the connection is open and is out of data.

Original issue reported on code.google.com by josh.coo...@gmail.com on 3 Feb 2008 at 8:48

GoogleCodeExporter commented 9 years ago
Changed calls to Stream.Read to repeat if not all bytes are read unless 
Stream.Read
returns zero indicating end of stream.

Original comment by josh.coo...@gmail.com on 4 Feb 2008 at 12:53