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

WiFiServer: check previous received client socket for data before querying a new one #53

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

sandeepmistry
Copy link
Contributor

Resolves #52.

Copy link
Contributor

@Rocketct Rocketct left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with a MKR1010 and with the sketch "WiFiChatServer", and conneting to it with nc 23, the sketch work the first message that i send from the console is showed entirely on the serial monitor and sent again to the client

@sandeepmistry sandeepmistry merged commit ee61207 into arduino-libraries:master Mar 27, 2019
@ocrdu
Copy link

ocrdu commented Oct 18, 2019

See #87

@ocrdu
Copy link

ocrdu commented Mar 12, 2023

This ill-conceived fix (to make one single example work that shouldn't have been programmed as it is in the first place) was made 4 years ago now, and has caused many problems when using multiple servers/sockets. Some of these problems were reported as issues, but somehow these issues have been ignored for years. This fix introduces a bug, plain and simple.

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

Successfully merging this pull request may close these issues.

WiFiChatServer example doesn't work as intended
3 participants