sockets: half documentation problem, half feature request
| From: | Steve Meyers | Date: | Tue, 09 Apr 2002 19:52:16 +0000 |
| Subject: | sockets: half documentation problem, half feature request | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-82405@lists.php.net to get a copy of this message | ||
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?