Hi, I'm not sure if this applies equally to the Opta as it does to the GIGA, but on the GIGA I needed to follow the instructions below to build a custom version of the libmbed.a library having added
"lwip.socket-max": 12,
"lwip.tcp-socket-max": 10,
to the mbed_app.json file.
Why, with all the resources of these boards, Arduino took a conservative approach with some of the configuration is a mystery to me.
Hi @ppp-one , not tried yet. I reported the issue to Arduino support and got a kind email. Acoording to it, Arduino is actively working to address this behaviour, but there is not release date to solve this. I've checked that the server releases the orphaned sockets afters a few hours, but this expiry should be a few minutes.
My latest planed trick to solve this is a modbus-based countdown watchdog.