[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
The select() API
The select API is documented (among other places) in
* Advanced Programming in the Unix Environment, Stevens [1993],
pp396-400 for general IPC
* TCP/IP Illustrated, Wright & Stevens, [1995], pp 524-533 for sockets
The Linux implementation is described in
* Linux Application Development, Johnson & Troan [1998], p209-214
Problem:
In all the above (and other non listed) documentation, the API is
demonstrated for reads only.
(Stevens, in another place, shows how to use it with out of band data
for sockets, but the method is not very different fron an ordinary
read.)
How does it work for write? The explanations seem clear enough, but I
have not been able to find any examples of its use.
Does anyone have/know of some (intelligible) source code that uses
select() for write?
Thanks
Dan Feiglin
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il