XenoGuard Documentation

TCP Server Block Client

Actions » Windows » Network » TCP » TCP Server Block Client 

The action TCP Server Block Client includes the IP address of a specified TCP client into the list of blocked clients of the server.

[-] Hide
  1. Open the Windows node in the Workspace Explorer.
  2. Open the Network node.
  3. In the TCP node, select the TCP Server Block Client action.

Parameters:

The action 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: 10000

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

Results:

The action returns the following results:


name
description
Result
Determines if the client was successfully added to the list.

Allowed Value: Boolean

Allowed Context Scope [Fixed]
Allowed Context Types [Variable, Parameter]

Warning Adding a device into the server's blocking list prevents communication between and among the TCP clients in the network.

Example 1 (Display list of blocked TCP clients):

This example creates two local variables, Client Address and Client Port, with Text as data type. After starting a TCP server, the variables are used to specify the TCP client to be blocked. The blocked clients connected to the TCP server are listed in TCP Server Statistic. The action in the "Then" branch is executed if the specified TCP client is blocked and is then output via Message Box. Otherwise, the action in the "Else" branch is executed. 

See other TCP operations: