Philippe wrote: > The "ref" is a magic number: > fd of the socket selected() << 8 | select event to monitor (read = 1, > write = 2, exception = 3). I pass it to net_stack_[de]select() via ioctl(). > In fact, BONE select() send a similar build 'ref' value ;-) I see. > That way, by looking at sem count, I could know which fd and on what > event > wakeup select(). Without needing to pass any fd_set data to kernel > land! > > Downside: One and only one fd/event will be return by select(). > But if it works, it's way better than net_server select() support... That's a big disadvantage... can't we just improve on your last try? I don't think it's impossible. Adios... Axel.