I've been trying to figure out how to know when a connection is dead when the socket is non-blocking. It seems to return the same error code (11) whether the connection is dead or if no data is waiting. On the socket_read() manual page, it says to see also socket_get_status(), which sounds like it will do what I want -- except it's not part of the sockets extension, and only does fsockopen() sockets.
So, can we get the docs fixed, or make socket_get_status() work with the sockets extension? -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php