adafruit / Adafruit_CircuitPython_Wiznet5k

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

Fix max sockets #96

Closed BiffoBear closed 1 year ago

BiffoBear commented 1 year ago

closes #93 adafruit_wiznet5k.WIZNET5K.get_socket() now raises a RuntimeError exception if no sockets are available. Thanks to @anecdata for spotting this bug!

BiffoBear commented 1 year ago

I need to check this on hardware and write some Pytests over the coming few days, but the fix should work…