ID:               33960
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cyberline at techno4ever dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Sockets related
 Operating System: Suse 9.2/3
 PHP Version:      5.0.4
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2005-08-02 10:27:39] cyberline at techno4ever dot net

Description:
------------
When i set a timelimit for fsockopen() the script won't stop after the
limit reaches.

Reproduce code:
---------------
if($fp = fsockopen($host, $port, &$errno, &$errnum, 2)) {
 ...
}

Expected result:
----------------
When the checked host is offline, the script reported that afetr 2
seconds.

Actual result:
--------------
The Script is stopping after 60 seconds.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33960&edit=1

Reply via email to