UDP Server Init

Block to initialize a UDP server.

Description

With this block you can initialize a UDP server for receiving UDP packets on a specified port.

Upon initialization the UDP server allocates a reception buffer. Each time a UDP packet is received, its data is written to the reception buffer. The data of the previous packet is overwritten.

The following blocks can be used to obtain data and information from the reception buffer: 'UDP Server Receive', 'UDP Server New Data Available' and 'UDP Server Receive Size'.

Remarks

Parameters
Port
Port number to listen on for new UDP packets. Note that the server binds to the IP address specified in the 'Ethernet Config' block.