Bug #11619 Updated: Socket function examples scripts aren't working with latest CVS

From: Date: Sun, 10 Feb 2002 20:07:11 +0000
Subject: Bug #11619 Updated: Socket function examples scripts aren't working with latest CVS
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-80@lists.php.net to get a copy of this message
ID: 11619 Updated by: torben@php.net -Summary: Socket function examples scripts aren't working with latest CVS Reported By: lukas.beeler@projectdream.org -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] sniper@php.net 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] lukas.beeler@projectdream.org 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

« previous php.bugs (#80) next »