Question regarding IO

Hej, I'm doing some network stuff in c# currently.

However for example I get somewhat annoying for finding no way to limit StreamReader.ReadLine by a maximum size. Also I'm kinda 'annoyed' that you cann't really read for example Http from any stream for example to support socks proxys and stack the streams properly.

is there any library which may offer some serious Io. Seriously if you work with StreamReader.ReadLine(async) for net stuff you are an easy ddos target unless you rewrap the Stream you pass to limit the maximum bytes to read.

by BBbk11 via /r/csharp

Leave a Reply