arduino-ESP8266
arduino-ESP8266 copied to clipboard
[question] Close socket from TCP client
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