The RTD supports remote access via a simple C interface (module rtdrmt ). This interface works a bit like the Tk send command, except that it uses a socket interface and restricts the commands that may be executed. Remote clients can connect to a running RTD widget and send RTD subcommands to be executed and get the results, either immediately or via a callback. Some of the RTD subcommands are designed especially for use with this interface. For example, the shm command gives access to the image header and data as shared memory. Remote clients can execute any of the RTD image subcommands. In addition, applications can extend the list of available remote commands by specifying a Tcl command to be called for unknown subcommands ( not impl. yet ).
Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory