This package can be used to manage multiple simultaneous network connections or file accesses. It is loosely based on the selectable channels implementation from Java's NIO package.
It can create streams to access files, access network servers or accept connections from network clients.
The streams can be set to non-blocking mode, so this package can manage the access to data read or written to multiple streams simultaneously.
It can register selectors for all the streams, so it can wait and handle the data read or written to multiple streams when it is ready. |