Re: socket_get_status(...)
| From: | Steve Meyers | Date: | Sat, 13 Apr 2002 01:42:32 +0000 |
| Subject: | Re: socket_get_status(...) | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82722@lists.php.net to get a copy of this message | ||
Wez Furlong wrote:
> Hi Sean,
>
> socket_get_status is unlikely to ever work with socket resources
> from the sockets extension.
> You should be using things like the select() function to test the
> status of your sockets if you are dealing with them on such a low
> level.
>
> --Wez.
This is a documentation problem then. If you go to the socket_get_status()
page, it says to see also a bunch of functions from the socket extension,
with no mention of fsockopen(), the only function it works with. On
several of the socket extension manual pages, they say to see also
socket_get_status(). From the docs, it sure looks like it's supposed to
work with them.