-->
Page 1 of 1

Intended behavior of Arduino IDE client.stop() ??

PostPosted: Tue Oct 24, 2017 11:52 am
by brenzo
I have my ESP8266 talking to a sever over REST. Here's the flow:

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....

Capture.PNG


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.