php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-01 17:00 UTC] mfischer@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 01:01:28 2024 UTC