Internet Direct (Indy) Version 9.0.2 Beta
|
function SendCmd(const ATag: string; const AOut: string; const AResponse: SmallInt): SmallInt; overload; function SendCmd(const ATag: string; const AOut: string; const AResponse: array of SmallInt): SmallInt; overload;
AResponse can be an array of SmallInt values that indicate the valie responses for the command, or a single SmallInt value.
SendCmd calls WriteLn to send the values in Atag and AOut to the IMAOP4 server, and calls GetResponse to determine the server response.