Serengeti Video Games SmartSync User Manual

Page of 24
                                                          SmartSync/DCP Installation Guide
                                                                                             
21
As you enter commands via the command prompt, you can watch as they
execute in the 3780Link SO window.
Note
The time-out parameter must be long enough for 3780Link
SO to complete the requested command.  For example, if
you ask 3780Link SO to send a large file and the time-out
is too short, the
 
client program will not be able to receive
the results of the SEND command from 3780Link SO.
You may set the time-out to zero to prevent the
 
client
program from timing out.
Some important things to consider when creating a client application of any
type are:
The client program must set itself up as a DDE client for writing script
commands to 3780Link SO using DDE Poke transactions.
The client program must set itself up as a DDE server for receiving
result codes back from 3780Link SO using DDE Poke transactions.
The client program must have a DDE callback function and must
process the appropriate messages from the operating system.
In order for 3780Link SO to act as a server, it must be running the
“pipe.s” script file that endlessly waits for script commands to be sent to
it and executed.