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

Report the number of received bytes in recv_uninit and recvfrom_uninit. #1278

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

Conversation

sunfishcode
Copy link
Member

As discussed in #1159, add a length to the return value of recv_uninit and recvfrom_uninit to report the original received length, which with RecvFlags::TRUNC may differ from the returned buffer length.

…init`.

As discussed in #1159, add a length to the return value of
`recv_uninit` and `recvfrom_uninit` to report the original received
length, which with `RecvFlags::TRUNC` may differ from the returned
buffer length.
@sunfishcode sunfishcode mentioned this pull request Jan 23, 2025
21 tasks
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.

1 participant