Hi Robert,

> I think the java byte buffer is a very useful abstraction when writing
> network apps - certainly much better than dealing with byte[] directly
> -  which was one of the reasons for taking it over to .NET. I had a
> look but could not see anything directly comparable to it in .NET (but
> that could just be my ignorance since I am not terribly familiar with
> .NET).

Well, in .NET usually most network apps I've been involved in basically deal
with Streams and some form of stream readers and writers (either
TextReader/Writer derived classes or something like a BinaryReader/Writer).
I agree the model in the Java code seems interesting, and I agree
manipulating a bunch of byte[] arrays ain't fun, so you'll get no discussion
from me on that. 

That's why I'm proposing understanding the existing code better so we can
clean it up a .NETify it a bit, I'm certainly not proposing a complete
replacement with a different paradigm.


Tomas Restrepo
[EMAIL PROTECTED]
http://www.winterdom.com/weblog/




Reply via email to