Send TCP Message

The Send TCP Message action allows the sending of a reply message to a client. The client would have previously established a connection through a TCP Listener device and sent a message that executed a trigger that uses the Receive TCP Message event.

Parameter descriptions

Parameter Description
Device Input Type The input type for the device, either Static or Dynamic.
The Static option will cause the Device parameter to show with a list of TCP Listener Devices that are defined on the gateway.
The Dynamic option will cause the Device parameter to be removed, and an Input Variable to appear allowing the user to enter the name of the TCP Listener Device.
Device The TCP Listener Device used to determine the TCP connection to use when sending the reply the message.
Message Format The format in which the TCP Message will be set, either ASCII or Binary.
Message Termination Character(s) Termination Characters to add at the end of the sending message. Characters can be either ASCII or Hex. Example: ASCII: END, STOP Hex: 0x0D0A

Input Variables

Parameter Description
Message The reply message to send to the client.
Address The source IP Address:port of the client that had previously connecting to the TCP Listener Device to send this reply TCP Message to.
Device Name The TCP Listener Device used to determine the TCP connection to use when sending the reply the message.

Appears when the Device Input Type parameter is set to Dynamic.

Related topics


Receive TCP Message