|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12377 Socket error
Submitted: 2001-07-25 15:27 UTC Modified: 2001-07-27 21:41 UTC
From: kingj at superior dot k12 dot wi dot us Assigned:
Status: Closed Package: Sockets related
PHP Version: 4.0.6 OS: Linux 2.2.14
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: kingj at superior dot k12 dot wi dot us
New email:
PHP Version: OS:


 [2001-07-25 15:27 UTC] kingj at superior dot k12 dot wi dot us
While working with sockets, when returning a port from a function, you need to do intvalue($myvariable) for bind() to accept the port.  It doesn't error out, but just doesn't open the port.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 02:27 UTC]
can you include a sample script for me to test...
 [2001-07-26 08:06 UTC]
This may be true for the current release (4.0.6) as I've heard of this problem before.

Anyway, the current CVS version (and so the next release, 4.0.7) features a complete rewrite of the socket interface and the bug has been fixed there.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 30 14:01:24 2023 UTC