SPRESENSE commented on code in PR #9647: URL: https://github.com/apache/nuttx/pull/9647#discussion_r1249931058
########## include/nuttx/net/usrsock.h: ########## @@ -83,6 +83,7 @@ enum usrsock_request_types_e USRSOCK_REQUEST_ACCEPT, USRSOCK_REQUEST_IOCTL, USRSOCK_REQUEST_SHUTDOWN, + USRSOCK_REQUEST_AVAILABLE, Review Comment: @xiaoxiang781216 san Sorry for late reply. Yes, it is feasible on both sides of that as you have pointed out. However, I think it would be difficult to understand if we use si_setup() errors to fallback, such that a part of error are returned as is depending on the error number, and the Kernel stack is used for errors when the user specifies that the error is prohibited. Therefore, I added a new interface. -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org