php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #11619 Socket function examples scripts aren't working with latest CVS
Submitted: 2001-06-22 13:25 UTC Modified: 2002-02-10 15:07 UTC
From: lukas dot beeler at projectdream dot org Assigned: dbeu (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.0 Latest CVS ( OS: Slackware-current / Kernel 2.4.5
Private report: No CVE-ID: None
 [2001-06-22 13:25 UTC] lukas dot beeler at projectdream dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-24 18:31 UTC] 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

 [2002-02-10 15:07 UTC] torben@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 04:01:38 2024 UTC