|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #2731 Function(s) to let php listen on a port
Submitted: 1999-11-16 15:46 UTC Modified: 2000-07-17 13:38 UTC
From: wico at cnh dot nl Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Beta 2 OS:
Private report: No CVE-ID: None
 [1999-11-16 15:46 UTC] wico at cnh dot nl
example: function Listen($ip, $port)

so other programs can make a connections (trought internet for example) to your script

tnx in advance


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-17 02:29 UTC] evan at cvs dot php dot net
I have implemented this (somewhat) in my PHP4 CVS. It may (or may not) make it into the release tree due to security concerns and practicality. Contact me at and let me know what you are trying to do.
 [2000-07-17 13:38 UTC] david at cvs dot php dot net
You can use the sockets extension in the latest CVS (
./configure --enable-sockets

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 21:01:29 2024 UTC