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 2020/05/14 09:38:52 UTC

[GitHub] [incubator-nuttx] anchao opened a new pull request #1048: net/sockopt: do not set the errno to SO_ERROR

anchao opened a new pull request #1048:
URL: https://github.com/apache/incubator-nuttx/pull/1048


   ## Summary
   SO_ERROR is used to report asynchronous errors that are the result
   of events within the network stack and not synchronous errors that
   are the result of a library call(send/recv/connect)
   
   Synchronous results are reported via errno.
   
   Linux Programmer's Manual
   ...
   NAME
          getsockopt, setsockopt - get and set options on sockets
   ...
   RETURN VALUE
   ...
          On error, -1 is returned, and errno is set appropriately
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-nuttx] patacongo merged pull request #1048: net/sockopt: do not set the errno to SO_ERROR

Posted by GitBox <gi...@apache.org>.
patacongo merged pull request #1048:
URL: https://github.com/apache/incubator-nuttx/pull/1048


   


----------------------------------------------------------------
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:
users@infra.apache.org