Skip to content

Udpfixes#1

Open
tom24 wants to merge 2 commits intoWiznet:masterfrom
tom24:udpfixes
Open

Udpfixes#1
tom24 wants to merge 2 commits intoWiznet:masterfrom
tom24:udpfixes

Conversation

@tom24
Copy link
Copy Markdown

@tom24 tom24 commented Dec 29, 2021

This solves some problems described in issues #1 and #2 at tom24/RP2040-HAT-CircuitPython.

In summary, UDP handling is improved.

Tom Thompson and others added 2 commits December 21, 2021 19:51
- Properly delimit datagrams. Only one datagram in recv() et al result.
- Address info correct in recvfrom()
- If a datagram not completely consumed on recv() et al, then remainder
  is discarded.
- Removed udp_remaining(). It was an API not tied to a
  socket, so meaningless.
- UDP_SOCK method for keeping track of datagram processing
  replaced, since it was not tied to a socket.
@chabala
Copy link
Copy Markdown

chabala commented Feb 18, 2022

Your changes are probably better targeted at https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k

chabala added a commit to chabala/Adafruit_CircuitPython_Wiznet5k that referenced this pull request Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants