This Changes Everything! - ESP32 Micropython Open Socket Tutorial with Code
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

▶︎
Using MicroPython in the wild

▶︎
Python Socket Programming Tutorial

▶︎
MicroPython #4 - PWM, ADC, Timers & Interrupts

▶︎
015 - ESP32 MicroPython: Web Server | Station Mode | Sockets

▶︎
Writing fast and efficient MicroPython

▶︎
ESP32 Guide 2026

▶︎
#232 How to secure our devices using SSL (ESP8266, ESP32, Tutorial)

▶︎
Learn MicroPython #4 - Interrupts (event-driven code)

▶︎
"You can't do that in MicroPython!" - Matt Trentini (PyCon AU 2023)

▶︎
YOU can Learn the ESP32 in 15 Minutes: Hello World!

▶︎
How to configure your MicroPython project with JSON files

▶︎
ESP32 Tutorial using MicroPython - Let's Get Started!

▶︎
Python MQTT for Data-Driven Engineering

▶︎
ESP32 Technical Tutorials: Tasks and concurrent Sockets

▶︎
MicroPython #3 - Fundamentals

▶︎
"Extending MicroPython: Using C for good!" - Matt Trentini (PyCon AU 2019)

▶︎
MicroPython #5 - JSON & Network Modules + Practical Example

▶︎
ESP32 MicroPython Web Server

▶︎
Asyncio in (Micro)Python

▶︎
