Engee documentation

RITM-TCP RECV

Page in progress.

Receive data using the connection received from RITM-TCP Server or RITM-TCP CLIENT units.

blockType: CFunction

Path in the library:

/RITM/RITM TCP/RITM-TCP RECV

Description

The block is used to receive data using the connection received from the RITM-TCP Server or RITM-TCP CLIENT blocks.

Ports

Input

Connection - connection information received from RITM-TCP Server or RITM-TCP CLIENT unit
scalar

Output

Size - number of bytes received
scalar

Details

Not more than the value of the Maximum message size parameters. If there is more data in the operating system buffer, it will be read in the next calculation step.

Data type

UInt32.

Data - array of received bytes
vector

Status -. information about the status of the transmission completion, non-zero status indicates an error
scalar

Parameters

Maximum message size - maximum possible length of the received message
`1 (By default).

Calculation step - calculation step in seconds for receiving messages in the real-time application
`-1 (By default).