LibVNCServer/LibVNCClient
LibVNCClient Documentation

Example Code

See SDLvncviewer.c for a rather complete client example.