Fix recv timeout.
- Change
recv
to better match CPython sockets. If fewer bytes are available than the requested bufsize, then those bytes will be returned immediately. The old behavior was to wait for a time out and then return the bytes.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-esp32spi
.
Read the docs for info on how to use it.