How many simultaneous connections with WiFiNINA?

Hello,

I am currently using the Arduino MKR WiFi 1010 and I am connected to multiple servers simultaneously to manage different things. These are HTTPS servers (so I have loaded the certificates into the module).

I was wondering if there is a maximum number of simultaneous connections to different servers? I ask this because when I created code to control my air conditioner, I had no trouble connecting to two servers at the same time (the air conditioner's API requires it). However, when I combined that code with another program that connected to other servers (notably Telegram), I noticed that it often failed to connect to the air conditioner's server.

this applies
https://espressif-docs.readthedocs-hosted.com/projects/esp-faq/en/latest/software-framework/protocols/lwip.html#are-there-any-limits-on-the-maximum-number-of-tcp-client-connection-after-the-esp32-additionally-opens-the-tcp-server

The number of simultaneously connected socket fd number for ESP32 is limited by LWIP_MAX_SOCKETS, which is 10 by default.

But number of secure connections may be limited by available memory in the esp32.

Thank you <3

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.