21.3.Sending Commands by TCP

It is possible to send commands directly to the DataHub over TCP, by using a tunnelling connection. The communication between a client and the DataHub over TCP follows these guidelines:

There is a function in the C++ header file that parses this kind of stream, called UT_LispParse, and another function called UT_LispString that can help a bit with writing lisp expressions. They automatically add double-quotes around %s formatted strings, and escape characters within the string.