Documentation

TCP Send

Send data over TCP network to a remote device

  • Library:
  • TCP

Description

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

Ports

Input

expand all

When Enable > 0, the block attempts to transmit data 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.

Vector of length Length to transmit to the client device.

Data Types: uint8

Number of uint8 values to transmit to the client device.

Output

expand all

Returns the number of uint8 values transmitted to the client device.

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.

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?