4路socket

I moved a working project from ESP 32 to ESP32-S2. I use the stable environment ESP-IDF-v4.2.

The project uses data transfer through 4 sockets at the same time (it determines which socket is free and data is placed there). Everything works fine on ESP32, but it doesn't work on ESP32-S2. After several blocks of data (1408 bytes each) have been sent, function send(...) returns -1 (socket write error).

When using a single socket, data is transmitted normally.

Please help me understand how to fix this?

Code of the data sending function:

posted on 2022-08-25 17:58  lydstory  阅读(35)  评论(0)    收藏  举报

导航