You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/24 21:55:54 UTC
[GitHub] [incubator-nuttx] acassis commented on a diff in pull request #6907: net/sockopt: move BINDTODEVICE to socket level
acassis commented on code in PR #6907:
URL: https://github.com/apache/incubator-nuttx/pull/6907#discussion_r954332589
##########
net/socket/setsockopt.c:
##########
@@ -399,6 +400,51 @@ static int psock_socketlevel_option(FAR struct socket *psock, int option,
}
#endif
+#ifdef CONFIG_NET_BINDTODEVICE
+ /* Handle the SO_BINDTODEVICE socket-level option.
+ *
+ * NOTE: this option is makes sense for UDP sockets trying to broadcast
Review Comment:
```suggestion
* NOTE: this option makes sense for UDP sockets trying to broadcast
```
--
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.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org