Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32 wrong constructor, server port set to ipaddress first octet #15

Open
tablatronix opened this issue Mar 4, 2018 · 0 comments
Open

Comments

@tablatronix
Copy link

tablatronix commented Mar 4, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant