#40151 [Opn->Fbk]: fsockopen can not work?
| From: | tony2001@php.net | Date: | Wed, 17 Jan 2007 10:01:48 +0000 |
| Subject: | #40151 [Opn->Fbk]: fsockopen can not work? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107674@lists.php.net to get a copy of this message | ||
ID: 40151
Updated by: tony2001@php.net
Reported By: playercd8 at hotmail dot com
-Status: Open
+Status: Feedback
Bug Type: Network related
Operating System: FreeBSD5.5
PHP Version: 5.2.0
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-01-17 09:34:56] playercd8 at hotmail dot com
Description:
------------
$errno is return 671845376
$errstr is not retuen any string
Why I can not use fsockopen to work ?
Reproduce code:
---------------
if(!$fp = @fsockopen($openhost, $port, $errno, $errstr, 15))
{
#debug
if ($this->debug == true) echo "Now can not open
socket.\nError($errno) $errstr\n";
return false;
}
Expected result:
----------------
..
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40151&edit=1