Documentation

TCP Receive

Receive data over TCP network from a remote device

  • Library:
  • TCP

Description

Receive data sent from a remote client device to a server application on a target computer.

Ports

Input

expand all

When Enable > 0, the block attempts to receive data sent to the remote device.

As a best practice, connect the Status output of a TCP configure block to the Enable input of the associated TCP Send and TCP Receive blocks.

Output

expand all

The parameter Receive width determines the maximum size of the data vector.

Data Types: uint8

To test whether the number of data items exceeds the width of the data output port, use this value.

Parameters

expand all

This property is read-only.

The block receives the list of IP address and port pairs from the TCP configuration blocks in the model.

Maximum number of uint8 values that the block expects to receive from the client device.

Enter the base sample time or a multiple of the base sample time. -1 means that sample time is inherited.

Introduced in R2017a

Was this topic helpful?