poll - input/output multiplexing
- The XSH specification for poll() contains the basic definition of this interface. The following additional information pertains to Sockets.
The poll() function supports sockets.
A file descriptor for a socket that is listening for connections will indicate that it is ready for reading, once connections are available. A file descriptor for a socket that is connecting asynchronously will indicate that it is ready for writing, once a connection has been established.