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
In questa pagina del sito puoi guardare il video online This Changes Everything! - ESP32 Micropython Open Socket Tutorial with Code della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Clayton Darwin 11 novembre 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 12,361 volte e gli è piaciuto 213 spettatori. Buona visione!