/
To LLP

To LLP

The To LLP component sends messages to a port using the LLP protocol. It receives data from an upstream component.

Running the Component

The below steps assume an existing port is available to connect to and the necessary firewall permissions are in place on the client and server.

Using +COMPONENT, import the To LLP component. Since it is a destination component, you will need to Edit Connections to link it to a source component that will push it data to send to the server port.

 

image-20250109-213955.png
image-20250109-214035.png

Fields marked with an asterisk * are required.

Connection Configurations:

Field

Description

Default Value

Field

Description

Default Value

Host *

The IP address or domain name of the target machine.

localhost

Port *

The port number of the target machine.

65430

PersistentConnection *

Whether or not to persistently connect to the remote host.

True

AttemptToReconnect *

Try to reconnect if the connection is lost.

Options are Yes with limit, No, Unlimited.

Yes with limit

ReconnectLimit

Number of reconnect attempts to try if Yes with limit is selected.

60

ReconnectInterval

Length of pause between reconnect attempts in seconds.

10

EnableSSL

Enable to receive messages securely using SSL.

False

SSLCaFile

Path to Certificate Authority File. If path is blank, Verify Peer will be disabled. If path is entered, Verify Peer will be enabled.

 

Message Configurations:

Field

Description

Default Value

Field

Description

Default Value

MessageEncoding *

The encoding used in the input data.

If left blank, encoding will be updated to the default according to OS. See Supported File Encodings.

Western (Windows-1252) for Windows

Western (ISO-8859-1) for Linux/Mac OS X.

LLPPrefix *

Prefix to use in LLP data. Should be in the form of an escaped hex value.

\x0B

LLPSuffix *

Suffix to use in LLP data. Should be in the form of an escaped hex value.

\x1C\x0D

ACK Configurations:

Field

Description

Default Value

Field

Description

Default Value

WaitForAck *

Wait for an ACK before sending the next message. If false, all settings below are ignored.

True

AckTimeout

Number of seconds to wait for an ACK.

10

UnlimitedResend

Resend the data unlimited times until ACK is received.

False

ResendAttempts

Number of attempts to resend data until ACK is received.

5

DisconnectBetweenResend

Disconnect from the server between resend attempts.

True

AckErrorHandling

Error handling option if ACK is not received.

Options: Stop the component. Skip the message.

Stop the component

Start the component.

Once inbound data is processed, check that the target server is receiving the data as expected.

Adapting the Component

There are a few ways you can adapt and expand this component for more complex workflows:

By default, the To LLP component assumes that an ACK received from the target server is valid and verification is not needed. In some cases, additional ACK verification may be required.

Logic can be added to the ACKverify function to verify the ACK data. The function should return true/false based on the result of the verification.

 

Related content

From LLP
More like this
From FTP
Read with this
How will we implement LLP clients?
How will we implement LLP clients?
More like this
To FTP
Read with this
Simulator
More like this
Lua Coding
Read with this