question on select() and sockets

Ahmad Dik abdik at cat.syr.EDU
Thu Nov 15 08:28:50 AEST 1990


I would like to know if select() can be used to find out if there is
a blocked read on a socket.

In other words, will the second parameter of the select() function
tell me if the socket's buffer is empty, and I can write to it, or  
does it tell me that there is someone blocked trying to read from the socket.

If select can not be used to tell if anyone is blocked reading on a
socket, is there any other way I can find out ??


:Ahmad Deek
abdik at cat.syr.edu



More information about the Comp.unix.internals mailing list