This tutorial explains how to set a socket client on the ESP32, running on the Arduino core. Since we need a socket server to contact, we will also check how to develop a very simple socket server in Python.
You can check a written post with the full source code at my blog:
https://techtutorialsx.com/2018/05/17...
Getting the local IP address:
https://www.whatismybrowser.com/detec...
Please check here for more tutorials on the ESP32:
https://techtutorialsx.com/category/e...