XenoGuard 4.0 Documentation

TCP Server Send String

ActionStep Reference » Windows » Network » TCP » TCP Server Send String 

The TCP Server Send String ActionStep transmits a string from a TCP server to a specified TCP client over the network.


[-] Hide
  1. Open the Windows node in the Workspace Explorer.
  2. Open the Network node.
  3. In the TCP node, select the TCP Server Send String ActionStep.

Parameters:

The ActionStep has the following input parameters:


name Description
Name
The name of the TCP server.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Address
The IP address of the client in the network.

Default IP address: 127.0.0.1

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Port
The designated port number of the client.

Default port number: 80

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Tag
The tag that identifies the data to be sent to the client.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]

Data
The data to be sent to the client.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]

Example 1 (Reply to a TCP client message):

This example creates two local variables, ServerName and ServerPassword, with Text as data type and values are used to start a TCP server. The server replies to the message sent by the TCP client after waiting for 10 seconds. A notice that the server replied to the client is displayed via Message Box.


See other TCP operations: