Bug #16950 Updated: socket_fd_*() functions
| From: | mfischer@php.net | Date: | Wed, 01 May 2002 21:00:12 +0000 |
| Subject: | Bug #16950 Updated: socket_fd_*() functions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6671@lists.php.net to get a copy of this message | ||
ID: 16950
Updated by: mfischer@php.net
Reported By: daveletourneau@hotmail.com
-Status: Open
+Status: Closed
Bug Type: Sockets related
Operating System: Windows 2000
PHP Version: 4.2.0
New Comment:
They have been removed. socket_select(), for which is the only call you
actually would need those sets, simply accepts arrays of sockets and
will manipulate them so the array will only contain the changed sockets
afterwards. Wait a few days until the documentation for
http://php.net/socket_select shows up.
Previous Comments:
------------------------------------------------------------------------
[2002-05-01 16:31:59] daveletourneau@hotmail.com
I'm trying to develop a multi-client socket server and this requires
using some trick to manage all the client sockets at one time...
I am on Win2k so all the functions to "fork" in the program are not
available. I decided to use the socket_select() way that needs calls
to socket_fd_*() functions but these do not seem to exist : "Call to
undefined function: socket_fd_alloc()". Apparently, all other socket
functions ARE available... is this a bug or the win32 socket library
just doesn't contain these functions? If you have any alternatives, it
would be very great...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16950&edit=1