This small example opens the ethernet port using DHCP.
The PC vi (2nd snippet) sends UDP broadcast messages over the local sub net. All devices in the same sub net that read out port 61557 will receive this message.
The embedded vi (1st snippet) starts the Ethernet interface with DHCP enabled. The program does not exit the first loop until a ethernet cable is connected. Received UDP messages are converted to upper case and returned to sender.