#41084 [NEW]: ?

From: Date: Sat, 14 Apr 2007 07:46:13 +0000
Subject: #41084 [NEW]: ?
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-111473@lists.php.net to get a copy of this message
From: gabriel at casaavenida dot com dot br Operating system: Windows XP PHP version: 5.2.1 PHP Bug Type: Sockets related Bug description: ? Description: ------------ fsockopen: udp port not open, response always true. Reproduce code: --------------- function service_enable($serverip,$port,$protocol) { error_reporting(1); $fp = fsockopen ("$protocol://$serverip", $port, $errno, $errstr); if(!$fp) { $status = 'NOT OPEN'; } else { $status = 'OPEN'; } return $status; } echo service_enable('127.0.0.1','80',udp); Expected result: ---------------- NOT OPEN Actual result: -------------- OPEN -- Edit bug report at http://bugs.php.net/?id=41084&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41084&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41084&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41084&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41084&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41084&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41084&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41084&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41084&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41084&r=support Expected behavior: http://bugs.php.net/fix.php?id=41084&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41084&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41084&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41084&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41084&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41084&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41084&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41084&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41084&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41084&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41084&r=mysqlcfg

« previous php.bugs (#111473) next »