...
Scroll Table Layout | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Port | Specifies the port that the socket listener will listen on for incoming connections. Specify |
---|---|
Worker |
Threads | Specifies the number of worker threads used to process messages.
Default is |
---|---|
Character Set |
Specifies the character set used to decode and encode bytes. Default is | |
Connection Backlog |
Specifies the number of connections allowed in the backlog before new connections will be rejected. |
This configuration is optional. Leaving the field empty is recommended. |
Read Mode |
---|
Specifies the listener mode for reading messages.
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 |
...
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 |
int
prefix is 4 the 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 of the message that may be required by the socket. If specified, the message format will be <LENGTH_FIELD_BYTES><MESSAGE_DATA_BYTES><SUFFIX_BYTES>. |
Prefixed Variable-Length (Number) Configuration Example
...
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 listener encodes Default is |
---|---|
Include Prefix in Length [true, false] [default: true] | Setting to Default is |
Prefixed Variable-Length (String) Configuration Example
...