call TcpConnector(a,b)
Group |
This function has two use cases.
Use Case 1
If a is a client connection, payload b is sent there.
The return value of the function is the response as a string. Note: If the connection uses a ByteHandler, the response is a Base64 string. See also function decode Base64(a, b).
Use Case 2
If a is a server connection and a is used in the profile in a TCP Input Agent, b is sent as a response to the TCP client that called the profile.
Parameter Description
Parameter |
Description |
a |
|
b |
If a uses a StringHandler, specify a normal string. If a uses a ByteHandler, a Base64 value must be specified. Use function convert hex to base64(a,b) to generate the value. |