UDP Receive

Receive UDP message from remote interface with any data type and size


Arduino UDP Ethernet Shield


Receive a UDP message from a remote interface identified by the remote IP address and remote port parameters.

If data's type is not uint8, it must be packed using the provided function;

Pack Data

Data Type

Input can be any of the following supported int data types:


Received data must be a 1-dimensional array. There is no limit to the length of the array. The length is only limited by the performance of the hardware.

Dialog Box


Set the local port on the Arduino


Set the data type of the received data


Specify the data size of the received data

Sample Time

Specify the sample time of the output data signal

Code Generation

This block is supported for code generation.


This block can not currently have more than one instance in a model.

See Also

UDP Transmit