Wietse Venema: > return -1 when write(fd, buf, 0) returns > -1, regardless of the errno.
Dammit, that is no good. I just tested on a Solaris9 box and find that poll() can't even enforce a write timeout in the normal case where the connection is NOT closed. It just sits there until the remote party takes an action. Wietse