From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.0.6
PHP Bug Type:     Network related
Bug description:  socket_set_timeout closes connection 


$ftp=fsockopen($ip, 21, &$errorno, &$errorstr, $timeout);
$returnstring .= "blocking is on?: " . socket_set_blocking($ftp, 0);


The socket_set_blocking terminates the conection immedeatly - when i turn
the socket_set_blocking On the script works fine (as long there is data on
the connection).

btw. the scripting timeout ($timeout) is beeing completly ignored if there
is no data waiting, the script stops until the maximum execution time is
reached...



-- 
Edit bug report at http://bugs.php.net/?id=16302&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16302&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16302&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16302&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16302&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16302&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16302&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16302&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16302&r=submittedtwice

Reply via email to