1.9.0 - Socket API Improvements
This release:
- #31 Improves the Socket API, thanks @xorbit!
- Adds
send_to
,recv_from
,recv_into
,recvfrom_into
to Socket API for compatibility with CPython socket API - Simplifies
recv
andreadline
socket methods due toavailable
doing the right thing for both TCP and UDP. connect
can now accept domain names- Fixed socket
__exit__
to only disconnect if a TCP (stream) socket. - Fixed
socket_available
to just report and not flush available UDP data when calling multiple times.
- Adds
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-wiznet5k
.
Read the docs for info on how to use it.