You aren't checking to see how much data got read. There is no guarantee that this call will read everything you ask for in just one call.
My suspicion is that the return value will show that <size bytes were read. On Sun, Aug 17, 2008 at 9:20 AM, Thibaut_ <[EMAIL PROTECTED]> wrote: > ... > > //AND THIS DOESN0T! > in.read(aaa,0,size); ... > Any ideas on how this can be fixed? I suspect a buffer is wrongly filled in > some cases when the size of the requested read call exceeds a certain > limit. > -- ted
