ID: 11619
Updated by: [EMAIL PROTECTED]
-Summary: Socket function examples scripts aren't working with
latest CVS
Reported By: [EMAIL PROTECTED]
-Status: Assigned
+Status: Closed
Bug Type: Documentation problem
Operating System: Slackware-current / Kernel 2.4.5
-PHP Version: 4.0 Latest CVS (2001-06-22)
+PHP Version: 4.0 Latest CVS (
Assigned To: dbeu
New Comment:
These examples have been updated--someone had updated the
function names in the examples without reflecting api
changes as well. The current examples work (at least on
4.2.0-dev).
Reopen if you can't get the current versions to work. :)
Torben
Previous Comments:
------------------------------------------------------------------------
[2001-06-24 18:31:06] [EMAIL PROTECTED]
Try the example found here:
http://introverted.com/php-sockets.html
It works just fine for me.
The API was changed to be more PHPish.
Assigned the documentation to person who is
to thank for this better API.
--Jani
------------------------------------------------------------------------
[2001-06-22 13:25:20] [EMAIL PROTECTED]
After checking the renamed socket functions, i tried to get the sockets
example script running. It works fine under 4.0.5, so i renamed the
functions to the new ones, und tried to get it running. It started, and
i could connect without problems, but instead of being an echo server,
i just got disconnectet.
When are the new sockets function getting documented with an example
script ?
thx in advance
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11619&edit=1