[riot-notifications] [RIOT-OS/RIOT] sys/posix/socket: implement MSG_PEEK for recvfrom (#16850)

chrysn notifications at github.com
Mon Sep 20 17:21:15 CEST 2021

> Then what good does it bring against my problem with posix sockets and lwip implementing a read cursor in gnrc?

I was unaware that lwIP was your target platform -- but the large-scale approach would be the same: sock_tcp_read would need a sock_tcp_peak counterpart, and then initially that could be implemented for lwIP (as miri suggested, by looking at how they do MSG_PEEK for their own POSIX layer), and would be initially unavailable for GNRC backed sockets.

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210920/98966224/attachment-0001.htm>

More information about the notifications mailing list