This UPD work was done using a Pico connected to an ESp8266. The WiFi library that loads onto the Pico was modified to do the UDP. It doesn't work on an Esp8266 loaded with Espruino.
:(
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
This UPD work was done using a Pico connected to an ESp8266. The WiFi library that loads onto the Pico was modified to do the UDP. It doesn't work on an Esp8266 loaded with Espruino.
:(