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

[question] Close socket from TCP client #31

Open
sergiotudela opened this issue May 26, 2016 · 0 comments
Open

[question] Close socket from TCP client #31

sergiotudela opened this issue May 26, 2016 · 0 comments

Comments

@sergiotudela
Copy link

Hi,

Regarding the API to close a socket a int is expected as id,

https://github.com/Diaoul/arduino-ESP8266/blob/master/ESP8266.cpp#L431

And from the examples: https://github.com/Diaoul/arduino-ESP8266/blob/master/examples/Complete/Complete.ino#L154 that parameter is not present.

What value should I take? Maybe getId() https://github.com/Diaoul/arduino-ESP8266/blob/master/ESP8266.cpp#L556 ?

Note: https://github.com/esp8266/esp8266-wiki/wiki/at_0.9.1

@sergiotudela sergiotudela changed the title [question] Close socket [question] Close socket from TCP client May 26, 2016
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