All commands are executed with these steps:
Initiate the command – This step identifies the command type and what it executes.
Define parameter values – Some commands require parameter data as input.
Send the command – ct_send writes the command symbols and data to the network. The server then reads, interprets, and executes the command.
Process the results of the command – ct_results, called in a loop, reads the results of the command. See “Structure of the basic loop”.