select/poll?

Hi,

it looks like the POSIX socket wrapper (https://riot-os.org/api/group__posix__sockets.html) is missing select() and poll() calls.

I also don't see any similar functionality at the GNRC socket level. For example, according to https://riot-os.org/api/group__net__sock__udp.html one can only wait for reading on a single UDP socket.

How is an application supposed to handle I/O on multiple sockets?

Thanks, Lars

Hi,

a long awaited feature indeed… There is a PR open providing the basis for that to sock: https://github.com/RIOT-OS/RIOT/pull/11723. But it still needs some reviews (and some love).

Kind regards, Martine