Problem processing FramebufferUpdates

Antonio Gil García antonio.gil.garcia "at" gmail.com
Fri Apr 20 14:02:01 2007


Hi!
I4m making a litle VNC client but. I4m having problems decoding the raw
rectangles that server sends in respond of a FrameBufferRequest with non
zero inclemental. When I send a zero FrameBufferRequest I don4t have
problems.
With the non zero, I first receive the number of rectangles and then with a
for I try to decode each one. I receive the size and position of each square
and the codification and then the info of pixels.
But I don4t know why the comunication desincronizes and I don4t receive the
same struct of the squares information.

Pseudocode I4m doing:

for ( i < num. squares)
{

}

--
Antonio Gil Garcma
antonio.gil.garcia "at" gmail.com