Send UDP packets to another UDP host on Internet network
Simulink Support Package for LEGO MINDSTORMS EV3 Hardware
Simulink Coder Support Package for BeagleBone Blue Hardware / Communication
Send a UDP packet to a network address identified by the remote IP address and remote IP port parameters.
If you are having trouble using UDP to communicate with a computer, investigate whether antivirus or firewall software might be blocking UDP traffic. If so, try reconfiguring the software to allow UDP traffic for a specific IP port number.
Port_1— Input port to accept data
Remote IP address (‘255.255.255.255’ for broadcast)— Remote IP address of the remote host
Enter the address or hostname of the IP node on the remote device.
To broadcast the UDP message to all devices, use the default
'255.255.255.255'. Use this approach
sparingly to avoid creating unnecessary broadcast traffic. Often,
IP routers are configured to drop broadcast UDP packets sent to
Remote IP port— Remote IP port number of the remote host
The number of the IP port on the remote device, which can range
from 1 to 65535. This value defaults to
Local IP port source— Local IP port source from which the block sends data
Select this option to determine the local port source from which the block sends the data.
Local port— Local port from which the block sends data
Enter the local port from which the block sends the data to the remote host.