ntruchsess / arduino_uip

UIPEthernet: A plugin-replacement of the stock Arduino Ethernet library for ENC28J60 shields and breakout boards. Full support for persistent (streaming) TCP-connections and UDP (Client and Server each), ARP, ICMP, DHCP and DNS. Build around Adam Dunkels uIP Stack. Further developed version can be found on https://github.com/UIPEthernet/UIPEthernet
489 stars 212 forks source link

ESP8266 freeze when TCP connection intempestively close. #196

Open cyberpablis opened 4 years ago

cyberpablis commented 4 years ago

I use a TCP client socket on a ESP8266 to connect a server socket on a PC, and send periodic packets. If from Windows, I deactivate the network card on which it receives the packets and activate it again, the device freezes. I've tried to change UIP_CONNECT_TIMEOUT in uipethernet-conf.h, but has not effect. The ESP8266 stays frozen forever, like it's in an infinite loop. Does not respond, does not refresh the embeded display (SH1106), nothing.