Skip to content

Server doesn't work (cannot connect from browser) #494

Open
@jeffrson

Description

@jeffrson

Hi,

afaict, the server shouldn't use EthernetServer::available (https://www.arduino.cc/en/Reference/ServerAvailable), but EthernetServer::accept (https://www.arduino.cc/en/Reference/EthernetServerAccept).

Otherwise, handleNewClient will identify a "new" client for every other header line - which will mix up "upgrade" and "websocket" flags inside client object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions