...
| Protocol | Specifies the protocol used to transmit messages. Options are TCP or UDP. Default: TCP |
|---|
| Port | Specifies the port that the socket listener will listen on for incoming connections. Specify 0 to automatically select an open port. After the asset is deployed, the selected port will be printed in the console. |
|---|
| Read Mode | Specifies the listener mode for reading messages. - Specify
fixed for fixed length messages that are always the same size. - Specify
prefixed for messages that have an int (4 bytes) length prefix at the beginning of the message. - Specify
prefixed-string for messages with a series of string digits prefixing the message. - Specify
token for messages that are delimited by an end character or uni code sequence.
Default: prefixed |
|---|
| Character Set | Specifies the character set used to decode and encode bytes. Default: UTF-8 |
|---|
| Format | Specifies how the request and response bytes are interpreted. Options are hex-string or byte-array. Setting the format to byte-array will read and send the bytes as is. Payloads defined in the responder’s text editor will be converted into bytes using the configured character set. File inputs will be read as bytes and sent as is. Setting the format to hex-string will convert the incoming request as a hex-encoded string. In this format, the payload defined in the responder should also be provided as a hex-string, which will then be sent as bytes. This format is useful for handling messages with non-printable ASCII characters, as it allows them to be represented as readable hex values (for example, 0A1F03). Default: byte-array |
|---|
| Acceptor Threads | Specifies the number of acceptor threads used to receive messages. Not applicable if Protocol is set to UDP. 1 is the minimum value allowed.
Default: 2 |
|---|
| Worker Threads | Specifies the number of worker threads used to process messages. 1 is the minimum value allowed.
Default: 50 |
|---|
| Character Set | Specifies the character set used to decode and encode bytes. Default: UTF-8 |
|---|
| 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. - Specify
fixed for fixed length messages that are always the same size. - Specify
prefixed for messages that have an int (4 bytes) length prefix at the beginning of the message. - Specify
prefixed-string for messages with a series of string digits prefixing the message. - Specify
token for messages that are delimited by an end character or uni code sequence.
Default: prefixed |
|---|
Fixed Length
Specify the size of the fixed message in the Fixed Length [default: 1024] field.
...