Bug #15976 Updated: socket_get_status(...) returns nothing
| From: | sean at caedmon dot net | Date: | Wed, 13 Mar 2002 02:00:39 +0000 |
| Subject: | Bug #15976 Updated: socket_get_status(...) returns nothing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2346@lists.php.net to get a copy of this message | ||
ID: 15976
Updated by: sean@caedmon.net
Reported By: sean@caedmon.net
Status: Open
Bug Type: Sockets related
Operating System: Win32 (2000) AND Linux2.2
PHP Version: 4.1.2
New Comment:
It's a non-blocking socket, if that helps
S
Previous Comments:
------------------------------------------------------------------------
[2002-03-09 17:34:26] sean@caedmon.net
Also note: This is a listening socket (host / server / whatever) -- ie,
not created with fsockopen; created with socket_create, socket_bind,
socket_listen, socket_accept. There's a note in the manual about this
not working properly, but I didn't see it in the bug DB.
------------------------------------------------------------------------
[2002-03-09 17:31:39] sean@caedmon.net
socket_get_status is supposed to return an associative array, it
_always_ returns null for me. No array, no object, no string
print_r(socket_get_status($verifiedSocketResource)) prints nothing.
I've tried this on two separate 4.1.x installs. The php4win version
(4.1.1) and the Debian Unstable version (4.1.2 -- CGI).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15976&edit=1