Main Content

UDP Send

Send UDP packets to UDP host

Since R2020b

  • NVIDIA UDP Send block

Libraries:
NVIDIA Jetson and NVIDIA DRIVE / Network

Description

The UDP Send block sends UDP packets to a UDP host. Use the block for stateless and connectionless data transmission.

The IP address and the port number of the receiving host are specified in the Remote IP address (255.255.255.255 for broadcast) and Remote IP Port parameters.

The block accepts input with data type int8, uint8, int16, uint16, int32, uint32, single, or double.

Note

Your antivirus software or firewall might block UDP traffic. Configure the software to allow traffic from a specific IP port number.

Examples

Ports

Input

expand all

The port accepts an array and sends it as UDP packets over an IP network port to the receiving UDP host.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean

Parameters

expand all

Specify the IP address or the host name to which the block sends the UDP packets. To broadcast packets to all the receiving hosts, specify '255.255.255.255'.

Specify the port number of the application on the receiving host to which you want to send the packets. Match the remote port number with the local port number of the receiving host.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2020b