michallenc commented on issue #16555:
URL: https://github.com/apache/nuttx/issues/16555#issuecomment-2988420432

   So it seems there are two problems. The first one is pretty obvious after 
looking to the code, we simply don't support `poll` on `SOCK_DGRAM` 😅 See 
https://github.com/apache/nuttx/blob/master/net/local/local_netpoll.c#L162
   
   The other problem is in `local_recvmsg` and `local_sendmsg` in the first 
check
   
   ```
     if (conn->lc_outfile.f_inode == NULL)
       {
         return -EPIPE;
       }
   ```
   
   added in #14103. For some reason, this seems to be always NULL for datagram 
in our case. With few hacks, I was able to send/receive data with `SOCK_DGRAM`, 
but the behavior is still weird.


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

Reply via email to