TCP Tasks
Properties Configuration Settings
The TCP Task can be used to send data over TCP.
Remarks
The TCP Task can be used to send data over TCP.
TCP Send Adapter
The TCP Send Adapter provides a light-weight TCP client. To begin Server and Port must be specified.
Specify the data to be sent in DataToSend. Upon execution the task will connect to the server and send DataToSend. The adapter will then wait for the server to signal the end of the response by looking for ExpectedResponse in the returned value. When detected the execution will complete and the response will be available in the Response property.
Additional scripting properties BeforeSend and AfterSend provide additional flexibility allowing any number of commands and operations to be performed.
Sender Property List
The following is the full list of the properties of the sender task with short descriptions. Click on the links for further details.
AfterSend | A set of commands to be executed after DataToSend is sent. |
BeforeSend | A set of Tcp commands to be executed before DataToSend is sent. |
DataToSend | The data to be sent to the server. |
ErrorOnTimeout | If enabled, reaching the timeout will not throw an error. |
ExpectedResponse | The expected response. |
ExpectedResponseExpression | A regular expression to match the response returned by the server. |
Firewall | A set of properties related to firewall access. |
LogFile | The file to write logging information to at runtime. |
LogMode | What information gets logged during task execution. |
Other | Defines a set of configuration settings to be used by the task. |
Port | The remote port for the Server (default is 23). |
Response | The response from server. |
ResponseFile | A file to hold the response from server. |
RuntimeLicense | Specifies the task runtime license key. |
Server | The address of the Server. |
SSLAcceptServerCert | Instructs the task to unconditionally accept the server certificate that matches the supplied certificate. |
SSLAcceptServerCertAcceptAny | Tells the task to accept any server certificate. |
SSLCert | The certificate to use for client authentication during the SSL handshake. |
SSLStartMode | Determines how the task starts the SSL negotiation. |
Timeout | A timeout for the task. |
Configuration Settings
The following is a list of configuration settings for the task with short descriptions. Click on the links for further details.
ReturnScriptResponse | Whether to include script output in response data. |
Logoff | Whether or not to logoff from the server after execution. |
SSLEnabledProtocols | Used to enable/disable the supported security protocols. |
AbsoluteTimeout | Determines whether timeouts are inactivity timeouts or absolute timeouts. |
LocalHost | The name of the local host or user-assigned IP interface through which connections are initiated or accepted. |
TcpNoDelay | Whether or not to delay when sending packets. |
UseManagedSecurityAPI | Tells the task whether or not to use the system security libraries or a managed implementation. |
PersistedConnectionTimeout | How long to leave a persisted connection alive. |