xiaoxiang781216 closed issue #16555: [BUG] Unix datagram sockets seems broken
URL: https://github.com/apache/nuttx/issues/16555
--
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.
GUIDINGLI commented on issue #16555:
URL: https://github.com/apache/nuttx/issues/16555#issuecomment-3043390019
@michallenc
Can you try this ?
https://github.com/apache/nuttx/pull/16682
--
This is an automated message from the Apache Git Service.
To respond to the message, please log
michallenc commented on issue #16555:
URL: https://github.com/apache/nuttx/issues/16555#issuecomment-3042213150
@xiaoxiang781216 is @GUIDINGLI actively working on this? I would at least
merge the `conn->lc_infile.f_inode == NULL` for now, to at least get datagrams
working. Polling can be so
acassis commented on issue #16555:
URL: https://github.com/apache/nuttx/issues/16555#issuecomment-2996623435
@xiaoxiang781216 @wengzhe could you please comment here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
michallenc commented on issue #16555:
URL: https://github.com/apache/nuttx/issues/16555#issuecomment-2996528799
Standard send/receive can be fixed by this.
```diff
diff --git a/net/local/local_recvmsg.c b/net/local/local_recvmsg.c
index 7f44907650..05baeaba48 100644
--- a/net/
acassis commented on issue #16555:
URL: https://github.com/apache/nuttx/issues/16555#issuecomment-2989199439
@wengzhe please take a look. Do you think it is possible to add ```poll```
support to ```SOCK_DGRAM``` ?
@GUIDINGLI since you created the PR
https://github.com/apache/nuttx/pu
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
michallenc opened a new issue, #16555:
URL: https://github.com/apache/nuttx/issues/16555
### Description / Steps to reproduce the issue
Unix local datagram sockets seems to be broken on NuttX. The following code
doesn't work on `sim:udgram` configuration (nor other configurations with