Hi,

I'm a brazilian java programmer and I am doing in my spare time a 3d vnc 
viewer, just for fun.
I decided to do the communication from scratch, to not use the existent java 
viewer code. The authentication and initialisation is ok, but I'm having some 
problems when reading the pixel data.

After initialisation, I send a framebufferupdaterequest, but for some reason 
when I got the answer, before the end of the pixel data stream, I got a 
"java.net.SocketException: Connection reset" .
For example, If I have to read 28.000 bytes, around 22.000 I got this error. 
See, the pixel data is correct, if I use this 22.000 at an image, I have a 
partial image, with the bottom missing. For some reason that I don't know, I 
got this problem when using the read() inputstream method.
When I use read(byte[]), I don't got the error, but it loads only a partial 
image too.(without the bottom). 

before you ask, the height of the request is correct, it stops at different 
places, but very near, so I think that this can be a timing problem, but is 
just a guess...

Any ideas?

[]s, gandhi

-- 
Ricardo Andere de Mello
Quilombo Digital - Presidente
[EMAIL PROTECTED] - 55 11 32717928
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to