One ESP32 board will act as a server and the other ESP32 board will act as a client. The following diagram shows an overview of how everything works. The ESP32 server creates its own wireless network (ESP32 Soft-Access Point).