...
Scroll Table Layout | ||
---|---|---|
|
Host | Specifies the host where the application is running. You can specify a fixed value or programmatically specify the host by choosing Scripted and clicking Edit Script to access the script editor. See Extensibility or Scripting Basics for additional information. Default is |
---|---|
Port | Specifies the port on the host where the client will send messages. You can specify a fixed value or programmatically specify the port number by choosing Scripted and clicking Edit Script to access the script editor. See Extensibility or Scripting Basics for additional information. |
Character Set | Specifies the character set used for encoding messages. You can specify a fixed value or programmatically specify the character set by choosing Scripted and clicking Edit Script to access the script editor. See Extensibility or Scripting Basics for additional information. Default is |
Read Mode | Specifies how the mode for reading messages.
You can specify a fixed value or programmatically specify the read mode by choosing Scripted and clicking Edit Script to access the script editor. See Extensibility or Scripting Basics for additional information. Default is |
Fixed Length
Specify the size of the fixed message in the Fixed Length [default: 1024] field.
...
Scroll Table Layout | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Token Delimiter [default: byte "23", End-Of-Transmission-Block] | Specifies the token that delimits messages. Default is |
---|---|
Token Type [string, hex, byte] [default: hex] | Specifies the type of conversion used to get bytes from the token.
Default is |
Prefixed Variable-Length (Number)
...
Scroll Table Layout | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Length of the Length Field |
---|
Determines the length of the length field. The desired number of bytes will be read and converted to a number to determine |
the length of the message |
. You can specify the following values: The default is to read 4 bytes and convert it to an integer. |
Include |
---|
Length Field Size in Length | Indicates if the length read |
---|
should also include the length |
field size. For example, if the option is enabled, a 4-byte message would send a |
length value of 8. This is because the |
int
prefix is 4 default length of the length field is 4 bytes and will be added to the message body length. Default is | |
Format of Static Prefix/Suffix | Specifies the type of conversion used to convert the static prefix/suffix into bytes.
Default is |
---|---|
Static Prefix | Specifies a prefix segment to be added to the message that may be required. If specified, the message format will be <PREFIX_BYTES><LENGTH_FIELD_BYTES><MESSAGE_DATA_BYTES>. |
Static Suffix | Specifies a suffix segment to be added to the message that may be required. If specified, the message format will be <LENGTH_FIELD_BYTES><MESSAGE_DATA_BYTES><SUFFIX_BYTES>. |
Prefixed Variable-Length (Number) Configuration Example
If the client sends a request containing request1
that was prefixed with an int
using the character set CP037
and the length includes the prefix length, then the request would be represented by the following bytes:
[0, 0, 0, 12, 114, 101, 113, 117, 101, 115, 116, 49]
The first four bytes ([0, 0, 0, 12]
) are the integer 12
, which is the length of the entire message including the first 4 bytes of the prefix. The remaining bytes are the string request1
as encoded by the configured character set.
Prefixed Variable-Length (String)
...
Scroll Table Layout | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
String Prefix Length [the number of string digits to read in] [default: 4] | Specifies the size of the message length prefix. The number of bytes to read is calculated based on the number of digits converted into bytes. The transport encodes 0 into bytes and multiplies the number by the number provided in this field. |
---|---|
Include Prefix in Length [true, false] [default: true] | Indicates if the length read from the prefix should also include the length of the prefix. Default is |
SSL
Set SSL Enabled [ default:false ] to true
to listen over SSL.
...