Think he uses ESP-NOW protocol/features, low latency but no transport level security, so no passwords to deal with there No auto packet retransmission, is different to TCP and UDP.
EDIT: I was wrong, and just rtfm’d… There’s some key based message encryption support ESP-IDF docs > ESP32 > Network > ESP-Now > Security
Steve’s pendant topic