Server Hooks

Nov 7, 2012 at 9:25 PM

Hi, I test the VB.Net example on Windows XP and 7 but it seems that refresh screen upadates are very slowly, mouse pointer works good but the client (TightVNC version 2.6, last) does not receive screen update in "realtime", is not possible to control a computer in this manner, how does the server work, how send screen updates?

Coordinator
Nov 21, 2012 at 12:58 PM

It very much depends on the internet connection speed you have. With slower ones you will not receive screen updates in "realtime".

As you can see in the source code (files VncServer.cs and RfbProtocol.cs), NVNC only sends a frame buffer (screen update) when the client has requested (ReadFrameBufferUpdate function). If you are not concerned about security, you can use RAW encoding which is the fastest.

You can also modify the source code, so NVNC executes a framebuffer update even when not requested, although I do not recommend doing that.

Another option is, to update smaller parts of the screen in pieces.