[riot-notifications] [RIOT-OS/RIOT] sys/posix/socket: implement MSG_PEEK for recvfrom (#16850)
notifications at github.com
Mon Sep 20 11:35:00 CEST 2021
I don't understand how the 16739 comment relates. Right now we have
1. the GNRC packet buffers
2. the per-socket reassembled stream
This commit adds on top of this a
3. the per-socket peeked data that was moved over
Now what comes out of 16739 might smush 1 and 2 into the same thing, but either way, a read that does not advance the read cursor (inside 1 or the combined 1+2 pktbuf chain) would achieve the same without an additional buffer (and, above that, do backpressure better).
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications