WebServer_tng
WebServer_tng copied to clipboard
esp32 wrong constructor, server port set to ipaddress first octet
esp32 wifiserver only has this
WiFiServer(uint16_t port=80, uint8_t max_clients=4):sockfd(-1),_accepted_sockfd(-1),_port(port),_max_clients(max_clients),_listening(false),_noDelay(false){}
so :
WebServer::WebServer(IPAddress addr, int port)
: _server(addr, port)
set ports to ipaddr first octet xxx. instead of port