|
From: | Simon Goldschmidt |
Subject: | [lwip-devel] [task #14247] socket API: implement recvmsg msg_control support |
Date: | Wed, 19 Apr 2017 15:46:47 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 |
Follow-up Comment #16, task #14247 (project lwip): Sorry for not being clear enough :-) Yes, we would need the check in recv_udp. And we would need the netconn->flag for LWIP_NETBUF_RECVINFO (!=0). But we would store the info only if the flag PKTINFO is enabled in the netconn. And that could be enabled by default to leave netconn behaviour as it was, and be disabled for sockets. But in the end, it's probably good enough to just disable it by default for all netconns & sockets and provide an API to enable it... _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/task/?14247> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |