chickadee » rfb » read-client-message

read-client-message RFBSESSIONprocedure

Waits for a message from an RFB client and returns an s-expression representing the message or end-of-file if the connection was closed.

Client messages may be any of the following:

(SetPixelFormat PIXELFORMAT)Client request to change the pixel format to the one given in the contained pixel-format object
(SetEncodingType INTEGER ...)Client request to change the current encoding type
(FramebufferUpdateRequest INCREMENTAL? X Y W H)Client request for changes covering the designated area
(KeyEvent DOWN? KEYCODE)Key-up/down event
(PointerEvent BUTTONMASK X Y)Mouse and/or Mousebutton event
(ClientCutText STRING)Request to copy string to clipboard