Previously there was not actual timeout handling. If a select() call set an timeout it would be set to zero instead and was always handled as blocking i/o. While this works fine for file descriptors which will be triggerd externally (for example vim through terminal i/o) it does not work at all for socket descriptors and network operations in general. So this commit introduces proper timeout handling and changes the behaviour of SYSCALL_SELECT so that it now returns more than just one descriptor at a time. noux/minimal and noux/net now depend on thread and alarm libraries. |
||
---|---|---|
.. | ||
net.cc | ||
README | ||
socket_descriptor_registry.h | ||
socket_io_channel.h | ||
target.mk |
This directory contains the implementation of network related stuff for noux. Currently network support is provided by using the libc and lwip directly (only for initialization of the actual network subsystem).