TCP Connections

Here you can create new TCP connections or edit/delete existing ones via the context menu. An additional licence is required.

Client


When Lobster_data acts as a TCP client, i.e. sends messages to a TCP server.


images/download/attachments/102597579/1164-version-4-modificationdate-1658825846513-api-v2.png

images/download/attachments/102597579/1166-version-5-modificationdate-1658825866948-api-v2.png


(1) The alias to be assigned for this connection.

(2) The URL/IP of the TCP server.

(3) Set the checkbox and select a local certificate for an SSL connection. If necessary, specify passphrase (4).

(4) See (3).

(5) Specifies for the StringRequestHandler what is appended as the end-of-message flag (6) to the requests sent to the server. Note: The value can also be specified in hexadecimal with the prefix 0x, e.g. 0x0a for a newline.

For the ByteRequestHandler, the length in bytes is specified in (6).

(6) See (5).

(7) Specifies for the StringResponseHandler, what is interpreted as the end-of-message flag (8) in responses sent by the server. Note: The value can also be specified in hexadecimal with the prefix 0x, e.g. 0x0a for a newline.

For the ByteResponseHandler, the length in bytes is specified in (8).

(8) See (7).

(9) If set, a connect/disconnect is performed on each request, otherwise standing connection (d efault is 60 minutes, but can be changed with system property hub.datawizard.tcp.handler.idletime). Note: See also function disconnect tcp-client(a).

Server


When Lobster_data acts as a TCP server, i.e. receives messages from a TCP client.

The setting options are analogous to the client, but (2) cannot be changed because Lobster_data acts as a TCP server and (9) is also not available.