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

sock_udp_recv() does not fill buffer when pktsnip too big #26

Open
kb2ma opened this issue Nov 17, 2016 · 0 comments
Open

sock_udp_recv() does not fill buffer when pktsnip too big #26

kb2ma opened this issue Nov 17, 2016 · 0 comments

Comments

@kb2ma
Copy link
Owner

kb2ma commented Nov 17, 2016

sock_udp_recv() returns -ENOBUFS when incoming pktsnip is too big. However, it does not fill the provided buffer with as much incoming data as possible. This means the caller has no idea what was received. For gcoap, we would like to know if the incoming data is a request or a response to respond appropriately.

Submit to main RIOT issues.

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

No branches or pull requests

1 participant