#33960 [Opn->Fbk]: fsockopen() timeout parameter has no function

From: Date: Tue, 02 Aug 2005 08:30:18 +0000
Subject: #33960 [Opn->Fbk]: fsockopen() timeout parameter has no function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-82807@lists.php.net to get a copy of this message
ID: 33960 Updated by: tony2001@php.net 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

« previous php.bugs (#82807) next »