On 24/01/07, Tomas Restrepo <[EMAIL PROTECTED]> wrote:
Yep, that's why I'd want to begin any work on that with a good set of unit tests to support the refactoring. I'll probably spend some time looking at the original Java code to see what I can figure out as well, but since I know parts of it are based (or depend, I'm not sure) on MINA, I guess things are bound to be different. Which brings me to the question of whether basing the .NET client buffering on how the original Java code in the first place might indeed be the best option.
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). RG
