
Modified VNC server source files
================================

Here are some source files I modified from Henrik Bjerregaard Pedersen's VNCServ 0.06.

At the time of writing the VNCServ 0.06 itself is downloadable from http://login.dknet.dk/~henrik/.


I encountered the following problems while using VNCServ under Virtual RPC Adjust across a wireless connection:

1) Couldn't reconnect to the server after connection broke down.

  I altered server_poll() in c.server to continue listening for connections after the connection is first made.


2) Frequent fatal errors.

  I used a different library for sockets, as I was unable to find Netlib.
  I found errno was frequently set to EAGAIN, so I modified poll_sending() in c.server to treat EAGAIN as non-fatal.


3) Send buffer overflow when display changes rapidly.

  I changed c.vncserv to prevent the accumulation of multiple (overlapping in this case) area updates in the send buffer. This involved a data marker in c.server.
  This also involved additions to h.vncserv and h.proto.


4) Ctrl-X, Ctrl-V etc. not working.

  I added a few lines to io_keypress() in c.server to insert the required control characters into the keyboard buffer.


To build VNCServ with the libraries available to me, I made some other modifications which I've now removed.


Crispian Daniels
crispian@beeb.net

13th January 2006
