ID: 40151 Updated by: [EMAIL PROTECTED] 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