adafruit / Adafruit_CircuitPython_Wiznet5k

Pure-Python interface for WIZNET 5k Ethernet modules
Other
15 stars 35 forks source link

Shouldn't calls that time out raise errors? #136

Open JetForMe opened 8 months ago

JetForMe commented 8 months ago

If I’m understanding the Python sockets docs correctly, a socket with timeout enabled should raise an error. But recv(), at least, just returns an empty byte object on timeout.