mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +00:00
cce95ff58c706bdd670fa17c24526815bf734555
Fix two pre-existing bugs found during review of #14398: 1. bind() returns 0 on nullptr name instead of -1, inconsistent with POSIX bind() semantics and can mask invalid calls. 2. listen() doesn't re-register tcp_err after tcp_listen_with_backlog reallocates the PCB. The error callback was set during init() on the original PCB which is now freed, leaving the new listen PCB without an error handler.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
546 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
