Intended behavior of Arduino IDE client.stop() ??
Posted: Tue Oct 24, 2017 11:52 am
I have my ESP8266 talking to a sever over REST. Here's the flow:
It seems to work pretty well. However when I look at Wireshark traces....
Any idea why the ESP is sending these RST packets? As far as I know it should be sending a FIN ACK to close a connection, not a RST.
Code: Select all
while (true)
Read sensors
client.connect(host, port)
client.print(myHttpString)
client.readX()
client.close()
It seems to work pretty well. However when I look at Wireshark traces....
Any idea why the ESP is sending these RST packets? As far as I know it should be sending a FIN ACK to close a connection, not a RST.