php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 02:27 UTC] andy@php.net
can you include a sample script for me to test...
 [2001-07-26 08:06 UTC] mfischer@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC