This will show an Example on how UDP Serial on Esp32 and Esp8266 Works.
On PC / Linux / MAC Use : https://sourceforge.net/projects/scriptcommunicator/
its a Freeware and Available for All OS'es Listed.
- In Settings > Sockets > Select Type: UDP socket
- Set own port : 8080
- From Down : Select Current Interface: socket
- Click Connect and close
If you program your ESP with this sketch by filling WIFI Credentials. You will see Text in the Main Window.
For More Info Watch My Video: https://www.youtube.com/watch?v=AWLJwVyLJ7k
You can also plot data to Graph with UDP. Click ajaybnl on top to see UDP-GRAPH-FOR-ESP32-ESP8266
Feel free to mail me for more tutorials at : Ajaybnl -at- gmail.com
TIP: Use Dark Color Schemes on Arduino. More at: https://github.com/ajaybnl/Arduino1.8.x_Dark_Theme