Skip to main content

TCP Reader

Reads data via TCP.

See Supported reader-parser combinations) for parsing options.

TCP Reader properties

property

type

default value

notes

Acknowledge Message

Boolean

False

When using the HL7v2 Parser with the TCP Reader, enabling this property, along with the MLLP Delimited property in the HL7v2 Parser, allows you to send back acknowledgement messages for each message from the sender.

Additionally, if the Message Validation property is also enabled in the HL7v2 Parser, you can send back negative acknowledgment (NACK) messages for badly constructed HL7v2 messages.

For more information, see the HL7v2 Parser topic.

Block Size

Integer

64

amount of data in KB for each read operation

Compression Type

String

Set to gzip when the input is in gzip format. Otherwise, leave blank.

IP Address

String

localhost

If the server has more than one IP address, specify the one to use.

Max Concurrent Clients

Integer

5

Port No

Integer

10000

port number where the TCPReader will listen

The output type is WAevent except when using JSONParser.

TCP Reader example

This example uses the DSV parser.

create source CSVSource using TCPReader (
    IpAddress:'10.1.10.55',
    PortNo:'3546'
)
parse using DSVParser (
    header:'yes'
)