VNC send/rcv implementation

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • VNC send/rcv implementation

    Hello,
    I am struggling with the implementation of SEND/ RECEIVE function for the GUI_VNC_Process( ..)
    Can you please clarify:
    send and receive should be blocking functions? in particular, send should return only after the packet has been completely send ?
    Should GUI_VNC_Procces be called in an endless loop or just once to set the pointers for the send and receive functions and exits ?

    My goal is to use VNC via UART to a remote PC, the remote PC has a small service to convert UART data to localhost TCP and the VNC viewer is set to localhost, so any details of the way that these 3 functions work (GUI_VNC_Proccess(), pfSend(), pfRec() ) will help.

    Thanks
    Johanan