me-no-dev / AsyncTCP

Async TCP Library for ESP32
GNU Lesser General Public License v3.0
714 stars 426 forks source link

Fix onTimeout to better detect broken connection #171

Closed jgvmonteiro closed 1 year ago

jgvmonteiro commented 1 year ago

If we write at interval < __acktimeout the timer gets reset and the onTimeout handler never triggers. This way should be better to detect a broken connection.

Changed connect() so it doesnt try to open multiple connections to the same server

DamronDan commented 1 year ago

Can this be merged into master?