Main Content


Send TCP/IP message from server


Simulink Support Package for Arduino Hardware/Ethernet Shield

  • TCP/IP Send block


Send TCP/IP messages from a server over a wired network.

Use this block when your model has the following requirements:

  • Reliable message transmission

  • Unchanged message order

  • Acceptable compromise on the transmission speed

The TCP/IP server created by this block can accept four socket connections on the Arduino board.

This block input accepts uint8 values.

During simulations without the hardware, this block does nothing.


Server port

Enter the port number through which you want the TCP/IP server to send the messages. The server port numbers range from 0 to 65535.

Click View pin map to open the Arduino Pin Mapping table .

To know how to assign pins for the block, see Pin Mapping for Arduino Timer Independent Blocks.