Here is some info and code on keeping a socket open long term to pass code and commands between a desktop and an ESP32. The code includes both a server for the ESP32 and a client application for the desktop. Everything is in MicroPython. Should be easy to adapt to different situations. This just keeps the socket open for passing data. There is no protocol beyond that. Do whatever makes sense to you and your application.
Here is a link to the code: https://drive.google.com/open?id=1-qg...
And the answer is... Monty Python and the Holy Grail
Auf dieser Seite können Sie das Online-Video This Changes Everything! - ESP32 Micropython Open Socket Tutorial with Code mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Clayton Darwin 11 November 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 12,361 Mal angesehen und es wurde von 213 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!