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/01/17 17:23:15 UTC

[GitHub] [incubator-nuttx] patacongo commented on issue #121: net/recv: correct the return value

patacongo commented on issue #121: net/recv: correct the return value
URL: https://github.com/apache/incubator-nuttx/pull/121#issuecomment-575718760
 
 
   The Linux Programmer's Reference is not a relevant specification.  NuttX follows OpenGroup.org:  https://pubs.opengroup.org/onlinepubs/009695399/functions/recv.html .  The requirement there is compatible, but not identical:
   
   [EAGAIN] or [EWOULDBLOCK]
       The socket's file descriptor is marked O_NONBLOCK and no data is waiting to be received; or MSG_OOB is set and no out-of-band data is available and either the socket's file descriptor is marked O_NONBLOCK or the socket does not support blocking to await out-of-band data.
   

----------------------------------------------------------------
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


With regards,
Apache Git Services