RIOT-OS / RIOT

RIOT - The friendly OS for IoT
https://riot-os.org
GNU Lesser General Public License v2.1
4.93k stars 1.99k forks source link

POSIX sockets: implement (p)select #4222

Closed OlegHahm closed 7 years ago

OlegHahm commented 9 years ago

For the sake of ease porting libraries based on POSIX sockets (e.g. libcoap, ccn-lite...) an implementation of the select() function for synchronous I/O multiplexing would be very helpful.

Kijewski commented 9 years ago

I would rather say poll(), because the API of select() is very difficult to use or even understand.

OlegHahm commented 9 years ago

Nevertheless it is required for the above mentioned examples.

kaspar030 commented 9 years ago

4103 might be used to efficiently implement this.

miri64 commented 9 years ago

Might it make sense to have that of conn, too?

OlegHahm commented 9 years ago

@kaspar030, maybe.

@authmillenon, I sense that we need to rethink conn a little bit, but in general, yes.

kaspar030 commented 7 years ago

Closed in favour of #7801.