|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16950 socket_fd_*() functions
Submitted: 2002-05-01 16:31 UTC Modified: 2002-05-01 17:00 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: daveletourneau at hotmail dot com Assigned:
Status: Closed Package: Sockets related
PHP Version: 4.2.0 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: daveletourneau at hotmail dot com
New email:
PHP Version: OS:


 [2002-05-01 16:31 UTC] daveletourneau at hotmail dot 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...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-01 17:00 UTC]
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 shows up.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 22 12:01:29 2024 UTC