Executing Multiple Connect Commands from a File

AgIPCExp can also be used to execute a series of Connect commands that are stored in an ASCII file. Within the file, the Connect commands can be separated by UNIX "sleep" commands that drive the timing of command execution. To begin the Connect script from a shell using a telnet socket, type:

AgIPCExp [-f <sockFile>] [-t <tcpAddress>] [-b <bufferSize>]
Option Description
-f <sockFile> Use a local UNIX socket
-t <tcpAddress> Use a TCP socket of the form host:port (i.e. server.mydomain:5050)
-b <bufferSize> Set the size of the buffer used for reading commands (default/minimum is 1024 bytes). A larger buffer can improve performance.

AgIPCExp does not handle asynchronous commands.