Hi Markus,
On 7/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
<snip/>
Client
=====
<snip/>
while ((size = is.read(buffer)) > 0) {
for (int i = 0; i < buffer.length; i++) {
Shouldn't this be:
for (int i = 0; i < size; i++) {
? InputStream.read() doesn't already fill the buffer to its end. You
could wrap the InputStream with DataInputStream and use readFully
instead. Please let me know if this works.
HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6