arduino-libraries / Ethernet

Ethernet Library for Arduino
http://arduino.cc/
252 stars 253 forks source link

Stuck on parsePacket using the WIZ820io #262

Open jegjessing opened 2 months ago

jegjessing commented 2 months ago

When trying to abtain a new lease, the module just hangs. Tracing through the code I see that it gets stuck on int EthernetUDP::parsePacket()

Looking into the code, I see: // could this fail (loop endlessly) if _remaining > 0 and recv in read fails?

Answer is yes it could. So now that I experience this. Is there anyone with a solution or some ideas as to how to help solve it? (Mind you, I'm not the top 10 C developers in the workd :-) )