php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #27210 SERVER_BIND in stream_socket_server manual page on the wrong place
Submitted: 2004-02-10 11:32 UTC Modified: 2004-02-16 13:23 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: glox at glox dot be Assigned: nlopess (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.0.0-CVS-HEAD OS:
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: glox at glox dot be
New email:
PHP Version: OS:

 

 [2004-02-10 11:32 UTC] glox at glox dot be
Description:
------------
The STREAM_SERVER_BIND flag in the stream_socket_server() manual page is with the tcp socket example. However the udp socket requires this flag. This flag was added in the manual page due to my previous bug report, but I think it's added in the wrong example. The STREAM_SERVER_BIND flag should be moved to the second example.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-11 00:23 UTC] pollita@php.net
Sorry, I was asleep at the wheel on that one.  You're absolutely right.  Good catch.

Not sure why nlopess took assignment rather than simply *doing* the fix, but if he's listening... "Don't worry about verifying it.  glox is right, swap that param down to the other example!"


 [2004-02-11 11:22 UTC] nlopess@php.net
Yes, I've noted that glox is right.

The problem is that the documentation isn't very explicit in how to use the flags.
I will take a look into this and then I close the bug. For now I'll just fix the example.
 [2004-02-16 13:23 UTC] nlopess@php.net
I've exchange some mails with Wez and he will look into the docs later.
For now, I'll close the bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 07:01:28 2024 UTC