Skip to content

close sockfd before set -1 #73

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

Merged
merged 1 commit into from
Dec 1, 2016
Merged

Conversation

hirotakaster
Copy link
Contributor

Hi, it's needed close sockfd before sockfd = -1, and

_connected = false;
close(sockfd);
sockfd = -1;

this equals stop() function.

@me-no-dev
Copy link
Member

Great! I suppose you have tested this?

@hirotakaster
Copy link
Contributor Author

Hi, I compile & test it. But if you okay, please test this part for double check.

@me-no-dev me-no-dev merged commit 3c81739 into espressif:master Dec 1, 2016
@me-no-dev
Copy link
Member

Thanks!

Lzw655 pushed a commit to Lzw655/arduino-esp32 that referenced this pull request Oct 12, 2023
brentru pushed a commit to adafruit/arduino-esp32 that referenced this pull request Oct 22, 2024
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.

2 participants