xiaoxiang781216 commented on a change in pull request #1443:
URL: https://github.com/apache/incubator-nuttx/pull/1443#discussion_r458696236



##########
File path: net/usrsock/usrsock_recvfrom.c
##########
@@ -397,9 +399,13 @@ ssize_t usrsock_recvfrom(FAR struct socket *psock, FAR 
void *buf, size_t len,
 
       usrsock_setup_datain(conn, inbufs, ARRAY_SIZE(inbufs));
 
+      /* MSG_DONTWAIT is only use in usrsock. */
+
+      flags &= ~MSG_DONTWAIT;

Review comment:
       Should we need handle DONTWAIT like NONBLOCK flag?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to