Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Udpfixes #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Udpfixes #1

wants to merge 2 commits into from

Conversation

tom24
Copy link

@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

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